- Jul
- 445
- 6
OK, I need some help with parsing through an array which I read from a file using %@filearray[]. When I attempt to assign set "An=%@word["=! ",0,%Alines[%xx]]" at one specific line I receive an error "TCC: (Sys) The parameter is incorrect.".
At the command line I also see the same error:
What's wrong with the above syntax?
What parameter?
The goal is to extract the first word in the line, "dn" for later use.
"%Alines[%xx]]" is simply one line in the file array. %xx is defined in a DO loop.
There are several other lines with special characters and they are handled without error.
At the command line I also see the same error:
Code:
C:\JPSoft\TCMD20x64>*set An=%@word["=",0,dn= for %n in (%$) *rename %n %@name[%n]_@substr[%@filedate[%n],0,2]%@substr[%@filedate[%n],3,2]%@substr[%@filedate[%n,w,4],0,4].%@ext[%n]]
TCC: (Sys) The parameter is incorrect.
""
What parameter?
The goal is to extract the first word in the line, "dn" for later use.
"%Alines[%xx]]" is simply one line in the file array. %xx is defined in a DO loop.
There are several other lines with special characters and they are handled without error.