home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- X-Newsreader: UMSZer V2.22 public
- Mime-version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-encoding: 8BIT
- Path: news.tng.oche.de!tomate.tng.oche.de
- X-Gateway: ZCONNECT UE utomate.tng.oche.de.tomate.tng.oche.de [PolyNet zTOr V4.901 Serie: "light"]
- Subject: How to get right SIGL with 'rx script' ?
- Date: Fri, 19 Jan 96 12:42:24 GMT
- Message-ID: <68771172@0humpty.tomate.tng.oche.de>
- From: humpty@TOMATE.TNG.OCHE.DE (Andreas Mixich)
-
-
- Hi,
-
- I use to have a hotkey in my texteditor which runs the current arexx-script
- I am editing. The docname will be queried from the ed, the script saved
- with a temp_name in t: and execute from there. This is an Arexx macro
- itself. It works fine. Now I was trying to do this:
-
- on error,failure,syntax etc:
- goto line SIGL
-
- This way I could be brought to the line where the error occured, similare
- to integrated compilers.
-
- Well, the problem is, that I start the temp file using
- ADDRESS COMMAND 'rx t:temp_file'. I may get a
-
- +++error 5 in line 456: Unmatched quote.
-
- but the command returns to the Arexx macro it was executed from with a
- different SIGL (of course), something like
-
- error in line 27, label not found.
-
- Line 27 is ADDRESS COMMAND 'rx t:temp_file'
-
- Have you any ideas how to parse the first error line ?
-
- --
- Ciao, Andreas
- Internet: humpty@tomate.tng.oche.de
- FIDO : 2:244/1544.14
-
- HAL 9000: "Help me, Dave. I can't run under Windows, Dave."
-
-