Pascal - How do you check for EOF when using a keyboard input?
Turbo Pascal you would do three things: 1) Place a USES CRT statement after the program heading. 2) Set CheckEOF to True with an assignment statement at the start of the program 3) Press Ctrl-Z when done entering data.
I tried that but no luck getting the program to respond to Ctrl-Z when done with data entry.