home *** CD-ROM | disk | FTP | other *** search
-
- LSETTX Macro set, by Steve Tibbett
-
- LSETTX enables you to use TurboText as the editor that the SAS/C
- compiler will talk to when it encounters an error during a compile.
-
- To install, have "rx >NIL: lsettx" inserted into your User-Startup,
- put all the .ttx and .rexx files in the archive into your REXX:
- directory, and map the "errparse.ttx" macro onto one of your function
- keys in TurboText (see the TTX manual for how to do this).
-
- Now, compile something that has errors in it, specifying -E on the
- LC command line. TTX should pop up and be on the line with the first
- error, showing the error in the title bar. Hitting the function key
- with "errparse" mapped to it should move to the next error.
-
- There is one limitation to this setup - lsettx won't deal with errors
- that aren't in the base file being compiled. If you are compiling
- test.c which includes test.h, and the error is in test.h, lsettx will
- load in test.c anyway.
-
- This works well enough to be quite useful. If you really like it, you
- can put -E into a SASCOPTS file in ENV: so all your compiles will
- automatically call TurboText when errors are found.
-
- Released into the Public Domain, by Steve Tibbett, May 18, 1991.
-
-