Tuesday, December 30, 2008

expression--Logical not/not

Note:The ¬ operator character may be absent in Ascii implementations. The backslash character (\) is now preferred.
Code:
000001 /* rexx */
000002 /* symb02 - if logical not a non-0 or 1 value*/
000003
000004 n = 3
000005 if \n then
000006 say 'you are wrong'
000007
Message:
5 +++ if :n
IRX0034I Error running SMB02, line 5: Logical value not 0 or 1
***

No comments:

Post a Comment