Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Telix/SALT v3.15 & RS-232, Hayes - <b>compiling salt scripts</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 COMPILING SALT SCRIPTS

 Before a SALT script can be used, it must be 'compiled'. The
 CS.EXE program included with Telix takes the ASCII 'source'
 scripts that the user writes, and compiles or converts them to
 a form that is easier for Telix to process, usually takes less
 space, and loads more quickly. SALT scripts may actually use
 any name. However in standard practice the extension 'SLT' is
 used for SALT source scripts, and the same name with the ex-
 tension 'SLC' is used for the compiled version.

 You may have used your text editor to modify one of the sample
 scripts included with Telix (most simply require inserting
 your name in a clearly marked location near the top). You now
 need to compile the script file. To do this, the CS.EXE pro-
 gram is used. While at the DOS prompt, type 'CS', followed by
 a space and the name of the script file you want to compile
 (the extension 'SLT' is assumed if none is given). CS will
 scan through the source file and produce the compiled version,
 using the same base name but the extension 'SLC'. If a syntax
 error is discovered while compiling the script file, CS will
 report it and abort. In that case the error should be fixed
 and CS run again. From within Telix, you may quickly run CS
 either by using the DOS Command function (Alt-V), or from the
 DOS Shell (Alt-J).

 Remember, every time you make a change to the source file, you
 must re-compile it, otherwise Telix will still run the old
 compiled version. This sounds tedious, but in practice once a
 script is developed it doesn't change very often.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson