qb45advr.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
LINE INPUT Statement Details
  QuickSCREEN      Details      Example      Contents      Index
──────────────────────────────────────────────────────────────────────────────
LINE INPUT Statement Details
 
Syntax
  LINE INPUT[;] ["promptstring";] stringvariable
 
The promptstring is a string constant displayed on the screen before input
is accepted. A question mark is not printed unless it is part of the
promptstring. All input from the end of promptstring to the carriage return
is assigned to stringvariable.
 
A semicolon immediately after the LINE INPUT statement keeps the cursor on
the same line after the user presses ENTER.
 
LINE INPUT uses the same editing characters as INPUT.