Limiting Console Output
Quick (and probably stupid) question:
My program retrieves records from a binary file.
I want the ouput of my records search to stop when the screen is full (or, say 20 records worth of data); I thought I'd do this with a loop, but am unsure if there is a function for "stopping" output when the screen is "full" before displaying the full 20 records.
Does such a creature exist?
None that I know of. Since you have 25 lines to print on I always used 24 and on the 25th line I'd print "-More-" and wait for a key stroke to continue.
Okay. Was worth a shot.
Easy enough to work around.