On Wednesday, September 14, 2022 at 8:42:29 AM UTC+10,
bearlyabus...@gmail.com wrote:
Robin Vowels <robin....@gmail.com> wrote:
On Wednesday, September 14, 2022 at 3:51:09 AM UTC+10, bearlyabus...@gmail.com wrote:
I have actually seen this used once. I tried to port a program that used >> constructs like:
“ON ENDFILE <array expression> …”
.
What? You'd need to have a file name somewhere.
.
and just gave up and decided to keep compiling it with PL/I(F).
That’s the <array expression>, sorry. It’s an array of file constants, or
maybe it was file variables, but in any case it stopped being supported by anything newer than “F”. I thought it was neat, though.
.
I think that you are confusing it with
OPEN FILE A, B, C;
and
CLOSE FILE D, E, F, G;
.
There was never anything like ON ENDFILE P, Q, R;
.
You would use ON ENDFILE (X) <<do something>> ;
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)