I have actually seen this used once. I tried to port a program that used constructs like:.
“ON ENDFILE <array expression> …”
and just gave up and decided to keep compiling it with PL/I(F).
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).
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.
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:That’s the <array expression>, sorry. It’s an array of file constants, or
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).
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>> ;
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 251 |
Nodes: | 16 (2 / 14) |
Uptime: | 23:19:32 |
Calls: | 5,544 |
Calls today: | 3 |
Files: | 11,676 |
Messages: | 5,109,037 |