I'm writing a script in Notepad as a text file. All executes fine when the script text file is called from within an HS3 Event. I'm calling up an xml file from the UK Met Office weather site and extracting certain data. All fine so far...
But if I try to include a 'Goto' in the script I get an error message (1024) in the Log, referring to the line which contains the 'Goto' instruction, and saying "expected statement". Similar problem with GoSub except that gives error 13, syntax error.
The format I've used is:
Goto Anylabel
...
Anylabel:
Might it be that I can use just about all commands in a text script, but Goto and Gosub have to be compiled into a vbs file for branching references to work? If so, what should I use to compile my txt files, please?
Thanks
But if I try to include a 'Goto' in the script I get an error message (1024) in the Log, referring to the line which contains the 'Goto' instruction, and saying "expected statement". Similar problem with GoSub except that gives error 13, syntax error.
The format I've used is:
Goto Anylabel
...
Anylabel:
Might it be that I can use just about all commands in a text script, but Goto and Gosub have to be compiled into a vbs file for branching references to work? If so, what should I use to compile my txt files, please?
Thanks
Comment