bas7advr.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
  Syntax  Details  Example                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
LINE INPUT enters an entire line (up to 255 characters) from the keyboard
to a string variable, without using delimiters to divide the line into
data items.
 
LINE INPUT [;] ["promptstring";] stringvariable
    ■ A semicolon immediately after the LINE INPUT keywords keeps the
      cursor on the same line after the user presses Enter.
    ■ The argument promptstring is a string constant displayed on the
      screen before input is accepted. A question mark is not printed
      unless it is part of promptstring. All input from the end of
      promptstring to the carriage return is assigned to stringvariable.
 
Usage Notes
    ■ LINE INPUT uses the same editing characters as INPUT.