CompuServe Messages

Superbase and Arexx

    09-Aug-93 20:44:49
Fm: Bob Chapman 76327,3116
To: Christian Busse 100121,1360
Christian – Nope. External commands and hosts are supposed to follow the DOS convention of returning zero to indicate OK and a non-zero value to indicate an error condition. Ref: ARexx User's Reference Manual Version 1.0 Chap. 10 p. 92. Result Fields When the host program finishes processing the command it must set the primary result field rm_Result1 to an error severity level or zero if no errors occurred. This is the field which will be assigned to the special variable RC . . . And, also see the ARexx User's Guide, P/N:368759-01, section on Interrupts, p.p. 6-6 and 6-7 where the 'ERROR' interrupt is described ERROR This interrupt is generated by any host command that returns a non-zero code. And, in the same source, the description of 'options failat' on p. 4-12. Or, for an answer beyond all doubt, ask Bill Hawes over in the ARexx section of the AmigaTech Forum 🙂 Finally, just to be picky — > and any other value (1, 3, 4096, 99999…) (= TRUE) ^^^^^^ Not so — in REXX and ARexx '0' is FALSE and '1' is TRUE and the use of a value other than 0 or 1 when a Boolean operand is expected will generate an error (ARexx User's Guide, p. 3-10). Try it and see 🙂 REC ——