03-12-2025, 08:22 AM
(This post was last modified: 03-12-2025, 08:27 AM by Albert Richheimer.)
(03-11-2025, 02:58 PM)Andy Dee Wrote: Have later versions of PB[WIN|CC] got such a "fileterminator", too?
They have. The PBCC 6.0 documentation says:
Quote:It is assumed the data is standard text, delimited by a CR/LF ($CRLF) or EOF (1A hex or $EOF). LINE INPUT# attempts to read the number of lines specified in the RECORDS rcds option, or the number of elements in the array, whichever is smaller.
And it works perfectly as described, see here: $EOF when using Line Input#
Cheers,
Albert
„Let the machine do the dirty work.“
The Elements of Programming Style, Brian W. Kernighan, P. J. Plauger 1978
The Elements of Programming Style, Brian W. Kernighan, P. J. Plauger 1978