Nonsense, that's only one case of a length explicitly determined at run time.. 
A declaration of an AUTO CHAR(foo) variable is another case.


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

________________________________________
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Robin Vowels [robi...@dodo.com.au]
Sent: Monday, March 28, 2022 5:38 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: PL/I question

On 2022-03-28 20:26, Seymour J Metz wrote:
> Yes, I meant VARYINGZ. Zero termination, no interpolation, the normal
> doubling in literals.
>
> Block entry *is* run time.

I know.  That's why I wrote "explicitly determined at run time".
I was referring to ALLOCATE.

> Also, exempli gratia (e.g.) means for
> example; had that been a complete list I would have written id est
> (i.e.).
>
> ________________________________________
> From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on
> behalf of Robin Vowels [robi...@dodo.com.au]
> Sent: Monday, March 28, 2022 5:04 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: PL/I question
>
> From: "Seymour J Metz" <sme...@gmu.edu>
> Sent: Monday, March 28, 2022 4:10 AM
>
>
>> There are no troublesome characters. If it's CHARZ
>
> There's no such attribute.  Do you mean VARYINGZ?
>
>> then a '00'X marks the end of the string, as in C. Otherwise there is
>> an explicit length
>> that is the same regardless of what characters are in the string. The
>> length may
>> be determined at, e.g. compile time, block entry, or may be dynamic
>> (VARYING).
>
> And it can be explicitly determined at run time.

----------------------------------------------------------------------
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