On 10/23/26 21:39, David Meyer wrote:
> Thanks. That solves my problems.
>
> Peter Flass <Pet…@Iron-Spring.com> writes:
>
>> 2. Using "GET LIST" the program is going to keep reading characters from the
>> input until the fields have been filled, so you have to terminate the second
>> number with a space or comma to indicate that it;s done.
>> for example typing 1 2, 1,2, of 1,2B (B=space). A record boundary (carriage
>> return) is ignored and the program is still looking for input [Most control
>> characters are ignored. I'm not sure why I don't recognize ^D as EOF, I'll put
>> that on the list (bug 677)]
>
> The Kednos compiler and apparently the earlier DEC VAX-11 PL/I compiler
> terminate an input stream field on carriage return in addition to space,
> comma, and tab. Is ignoring the carriage return typical of other PL/I
> systems (IBM, Multics)?
>
>> 3. By default PUT LIST will put the output in quotes.
>
> PUT LIST didn't add quotes before I declared SYSIN with ENV
> (INTERACTIVE). Is there a way to suppress the quotes in an interactive
> environment?
>
>> I know you're starting with a simple example, but there are better ways to do
>> PL/I interactive I/O.
>
> That is tantalizing. What ways are those? PUT EDIT?
>
Good question. In non-interactive use PL/I ignores physical record boundaries, which always drove me nutz. Multics treats the carriage return as the end of the input stream.