struct string inputS(n)
short n;
This function implements the BASIC INPUT$ function.
This function resets the current file.
Error 62 (Input past end) is generated if less than n characters are available either due to end-of-file, end-of-record, or time-out.
from The Basmark QuickBASIC Programmer’s Manual by Lawrence Leinweber