Futurebasic/Language/Reference/line input

From Wikibooks, open books for an open world
Jump to navigation Jump to search

LINE INPUT[edit | edit source]

Syntax[edit | edit source]

LINE INPUT [@(col,row)|%(h,v)] ["prompt";]stringVar$

Description[edit | edit source]

This statement behaves similarly to the INPUT statement, except that the entire line of text entered by the user (including any commas, quotes and leading spaces) is stored into the single variable stringVar$. See the INPUT statement for a description of the parameters that precede stringVar$.

Note: INPUT and LINE INPUT are considered rather "old-fashioned" ways to interact with the user. Programs with good user-interface design usually utilize Edit Fields instead.

See Also[edit | edit source]

INPUT; LINE INPUT#; EDIT FIELD