[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
LINE INPUT               Read Line from Keyboard, Ignoring Delimiters

 LINE INPUT [;] ["prompt";] stringvar

    Assigns a line of keyboard input (up to 255 characters) to a string
    variable.

           ;    If a semicolon is included directly after the INPUT
                keyword, Turbo Basic does not issue a carriage return/line
                feed after receiving the user's input.

      prompt    A string constant supplying a prompt to guide the user.

   stringvar    The name of a string variable that will receive input.

   -------------------------------------------------------------------------

      Notes:    LINE INPUT does not automatically display a question mark.
                If you want a question mark, include it within a prompt
                string.

                Unlike INPUT, LINE INPUT ignores all delimiters.
                Everything entered at the keyboard, including quote marks
                and commas, is treated as part of the input string.

See Also: INKEY$ INPUT$ INPUT INPUT # LINE INPUT #
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson