Acorn Computers BBC Micro Model B w/8271 — Acorn BBC Micro Model B w/8271 User Guide Manual PDF

248 INPUT LINE A$ will accept everything that is typed in including leading spaces and commas, and will place everything into . INPUT may be used with TAB in the same way that PRINT can be. For example 300 INPUT TAB(3,12) "number please" X SPC can be used also, to insert spaces. A semi-colon can replace a comma. Either a semi-colon or a comma will cause the computer to print a question mark when waiting for the variable to be filled. Description A statement to input values from the current input stream. The question mark prompt may be suppressed by omitting the comma following the prompt string. INPUT strips leading spaces off strings.

Syntax INPUT [ ][ ;|, ] | {, var> | } Associated keywords INPUT# , LINE , TAB , SPC