If the optional semicolon is present, no NEWLINE is printed following entry of the line by the user, leaving the cursor on the same line as the response.
yn$ = "n" answer$ = left$(yn$, 1) while answer$ <> "y" and answer$ <> "Y" line input "Enter your last name:"; a$ print "Last name:"; a$ line input "Is this correct? [yes]"; yn$ answer$ = left$(yn$, 1) wendillustrates the use of line input.
line input #FileNum, [;] [Prompt;] StrVar
is the synopsis of the line input # statement for terminal input (as described above) when FileNum refers to a file that is a terminal. Although the organization of these manual pages implies the older, less flexible system, this organization is maintained only for convenience, line input and line input # do not differ functionally. The difference in behavior between terminal input and disk file input depends entirely upon the type of file in use.
If the environment variable BASECHO is set to a non-null value when a Basmark QuickBASIC program begins executing, the BASIC input/output facility operates differently in order to support half-duplex terminals such as the IBM 3278. In this modified behavior of the input/output facility, the terminal modes are not altered, so that the usual erase and kill processing and echoing of terminal input are performed. In the specific case of line input, appearance of the semicolon following line input will not cause suppression of the echo of the newline; the semicolon is simply ignored.
from The Basmark QuickBASIC Programmer’s Manual by Lawrence Leinweber