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 [[email protected]] on behalf of Robin Vowels [[email protected]] Sent: Monday, March 28, 2022 5:38 AM To: [email protected] 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 [[email protected]] on > behalf of Robin Vowels [[email protected]] > Sent: Monday, March 28, 2022 5:04 AM > To: [email protected] > Subject: Re: PL/I question > > From: "Seymour J Metz" <[email protected]> > 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 [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
