Thanks For the responses
---------- Original Message ----------
From: Paul Gilmartin <[email protected]>
To: [email protected]
Subject: Re: Attributes Test In Macros
Date: Sat, 4 Aug 2012 12:45:18 -0600
On Aug 4, 2012, at 11:12, John Gilmore wrote:
> Dan Skomsky suggests the statement
>
> | AIF ('&L' GT '256').DOLIT WE NEED TO LOAD A LITERAL
>
> which is booby trapped. The HLASM and its predecessors compare
> strings lexicographically iff their lengths|character counts are
> equal. When they are not, the longer compares greater than the
> shorter. Thus 'aaa' < 'aab' but 'aa' > 'x' and, for example, '0000' >
> '256'.
>
I'm aghast that no one noticed this early, deemed it a bug,
and fixed it. Nowadays, it's to sanctified by use to fix.
CLC over a 2-byte length field followed by the string body?
How could they?
-- gil