In a recent note, "Shmuel Metz (Seymour J.)" said:

> Date:         Mon, 3 Oct 2005 17:13:06 -0300
> 
> >   /*    IF LINE = JLIN  & TY_FL /= 'Y' THEN CALL TYPRUN */
> 
> Is that even legal REXX?
> 
> >(I hadn't realized "/=" is an acceptable form;
> 
> AFAIK it isn't. Of course, even if it is valid you are correct that
> mixing forms makes the code harder to read.
> 
in:
                                    
    Title: z/OS V1R7.0 TSO/E REXX Reference
    Document Number: SA22-7790-06

..., and all the way back to OS/390 1.4:

  2.2.2 Operators
    2.2.2.3 Comparison

   \=, ¬=, /=

   \<, ¬<

   \>, ¬>

   \==, ¬==, /==

   \<<, ¬<<

   \>>, ¬>>

So, for whatever mysterious reason (lexical ambiguity?),
only two of the six relops allow negation with '/'.

-- gil
-- 
StorageTek
INFORMATION made POWERFUL

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to