•  Back 
  •  Main 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The GFA-Basic Compendium
Author      : GFA Systemtechnik GmbH
Version     : GFABasic.HYP v2.98 (12/31/2023)
Subject     : Documentation/Programming
Nodes       : 899
Index Size  : 28056
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Document not found
@help       : Help
@options    : +g -i -s +z
@width      : 75
@hostname   : STRNGSRV
@hostname   : CAB     
@hostname   : HIGHWIRE
@hostname   : THING   
View Ref-FileLINE INPUT ["text",] a$ [,b$,...]
LINE INPUT ["text";] a$ [,b$,...]

a$, b$: svar

LINE INPUT is a variant of the INPUT command. Unlike INPUT, it allows commas to
be accepted as part of the input. The preceding description of the input of
variables or a variable list, and the facilities for correction of the input
prior to the pressing of Return or Enter also apply to LINE INPUT. LINE INPUT,
however, may only be used with string variables.

Example:

    LINE INPUT a$
    INPUT b$
    PRINT a$,b$

--> When the program is Run, and the text 'com,ma' inputted twice, a$ is taken
    as 'com,ma' whilst b$ contains 'com', as the 'ma' is taken as a separate
    input and ignored. See also LINE INPUT #.

Memo: The maximum length of the input is 255 characters.