> That's not cheating; 

Of course it is cheating; it's not a faithful representation of the original 
program, and it may even break the code.


> On LISTSERV WWW, 'C2AC'.

I have no idea where the C2 is coming from; the AC is correct.

> In Regina Ref.:

Try each of AA and AC on both OOREXX and Regina. 

This insanity inspired me to writ a TRYNOT script:

 /* Test whether REXX recognizes all of the logical not characters */
 Nots = '\' 'aa'x 'ac'x
 do 3
    parse var Nots Not Nots
    say 'Trying' Not c2x(Not)
    interpret 'compare = a' Not'= b'
    say Not 'recognized'
    end

It's a throwaway; otherwise I would have intercepted the error and written my 
own message.

--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Paul Gilmartin [0000000433f07816-dmarc-requ...@listserv.ua.edu]
Sent: Saturday, May 29, 2021 11:07 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: ISPF Edit Macro Regular Expression

On Sun, 30 May 2021 01:03:04 +0000, Seymour J Metz wrote:

>> I hate EBCDIC issue, it's a multiple code page set issue!. Pop quiz: when 
>> using REXX on a PC, is � 'AA'X or 'AC'X?  And, yes, you can cheat and use \
>
That's not cheating; it's USASCII.  Porrtable.

>... so you don't have to care which code page and which interpreter, but why 
>should you have to? And what if you want to download exist REXX code from, 
>e.g., z/OS, zVM?
>
In your email I see:
    Content-Type: text/plain; charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    ...is =AC...
On LISTSERV WWW, 'C2AC'.

In Regina Ref.:
2.5.4.1 Negators
Some of the above comparisons can be negated by prefixing a
negator character. Regina supports the following characters as negators:
\ Backslash (ANSI Standard)
^ Caret
~ Tilde
¬ Logical Not

Again, 'C2AC'x.  And when I paste it into a script I get a syntax error:
Error 13 running "/proc/4320/fd/pipe:[95168888]", line 1: Invalid character in 
program
Error 13.1: Invalid character in program "('c2'X)"

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to