| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | REXX errors |
David Noon wrote on 04 Jan 1996 at 21:13 to Ruud Senden:
RS> Does anybody know how to do this? Is there a single command for
RS> this, or do I have to create this error-message myself, by using
RS> the CONDITION-function and the RC and SIGL-variables (together with
RS> errortext and sourceline-functions)?
DN> You have just posted the solution yourself. The CONDITION()
DN> built-in function and the SIGL variable will tell you what happened
DN> and where, respectively. The RC variable will not usually be
DN> meaningful.
Well, the RC-variable is at least meaningfull with a syntax error. The most
difficult part is to figure out which error-messages are possible with the
possible signals. For example, when the user presses Ctrl-Break, a
HALT-signal is raised, and from that I have to know that I have to display
the errortext belonging to error 4.
Another difficult part is, that if you have nested procedure-calls (eg p1
calls p2, p2 calls p3, an error occurs somewhere in p3), then the standard
REXX-error also displays the names of p1, p2 and p3, even with the right
indentation.
This is why I hoped there was a standard way to generate the standard
REXX-error, instead of having to figure out all the possible error-messages
with each possible signal, and then having to build-up the error-message
yourself.
Anyway, thank you for your answer, it confirmed my fear.
Regards,
Ruud (Internet: rsenden{at}cs.ruu.nl)
--- timEd/2 1.10+
* Origin: The OS/2 based RS point system (2:280/804.2054)SEEN-BY: 270/101 620/243 711/401 409 410 413 430 808 809 934 955 712/407 515 SEEN-BY: 712/517 628 713/888 800/1 7877/2809 @PATH: 280/804 801 270/101 712/515 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.