#Basic -> ARexx
18-May-95 22:50:04
Sb: #46834-#Basic -> ARexx
Fm: Bob Chapman 76327,3116
To: Jim Butterfield 73624,14
Jim –
Forgive me for being a PITA nitpicker but — 🙂
> But it's OK to use it as a boolean as in example 1, . . .
I'm sure that you meant:
"But it's OK to use it in a boolean expression as in example 1 . . ."
^^ ^^^^^^^^^^
where example 1 looks something like:
if writech(…) > 0 then say 'OK' /* example 1 */
since in ARexx (and REXX) a boolean is only allowed one of two values TRUE (1)
or FALSE (0) (unlike C for example). Consequently, if more than one (1)
character is written, the original example would produce
+++ Error 46 in line xx: Boolean value not 0 or 1
——