home *** CD-ROM | disk | FTP | other *** search
- /*******************************************
- *
- * FirstError.script
- * by Giovanni Lambiase (C) 1995
- *
- * This Arexx macro jump to first error in
- * SCMSG list. If you don't want that SCMSG
- * close its window when it's empty, then
- * comment out 'HIDE' command.
- *
- *******************************************/
-
- OPTIONS RESULTS
- OPTIONS FAILAT 31
-
- IF SHOW('PORTS','SC_SCMSG') THEN
- DO
- ADDRESS 'SC_SCMSG'
-
- /* If no errors -> close SCMSG */
- 'TEXT'
- IF RESULT='' THEN
- DO
- 'HIDE'
- END
- ELSE
- DO
- /* Jump to 1st error */
- 'TOP'
- 'SELECT'
- END
- END
-