My validator isn't highlighting syntax but it is warning me of any command that isn't in my path or isn't an internal command, which is how I found this!
Regardless of what types of entities they are under the hood, to someone over the hood, it's a bit inconsistent.
[Side-note: It's not actually a validator, I'm writing a dependency generator for my BAT files. Validation just happened to be an unintended side-effect.]
OMG Charles, thank you so much!! I probably would have just hoped I'd never run into one, and if I did, have gone and had to add it to the code of my validator one at a time as i ran into them over the course of my life.
Better to do it all now and be done with it.
Perhaps in reality, the documentation should have a section like this, for people like us who want to parse TCC script.
ENDTEXT is definitely NOT a command. It's not even a "sort-of" command like ELSE that is recognized by the parser. It is only recognized by the TEXT command when it's scanning for the end.
ENDLOCAL is very much a stand-alone command.
The Take Command SDK has a list of all of the commands (including ELSE, ENDIFF, ENDO, etc.) in the file "commands".
I guess a keyword list would be nice, but I'm figuring my situation out without one, and also thanks to Charle's shelp.
I believe I found a typo in documentation?
```
|:a
Piped output is ANSI
|:u
Piped output is UTF16 Unicode
|:8 or I:u8
Piped output is UTF8
```
Looks like there is a capital "I" in place of the pipe symbol right before the ":u8". Not obvious in the forum font here, but obvious in the actual help file viewer.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.