bas7advr.hlp (
Topic list)
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.