Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo Basic - <b>line input read line from keyboard, ignoring delimiters</b> http://www.X-Hacker.org [<<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 #

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson