DESIGNATES THE SYSTEM OBJECT NUMBER N AS DATA SOURCE
ACTION
The command INPUT_SOURCE_IS N designates the system object number N which will be used as SOURCE of data for an INPUT command.
The system object must be of type : EDIT, COMBO, FORM.
This system object becomes the "data source" system object.
By default, the "data source" system object is the keyboard and number 0 is used to designate the keyboard (normally, the command INPUT reads the keyboard).
SYNTAX:
INPUT_SOURCE_IS N
USE ERROR EXAMPLE
dim a$
rem create a LIST
list 1
rem fill the LIST with a file
file_load 1,"data.txt"
rem designate this LIST as source of data
input_source_is 1
rem read and print the first and the second line of the LIST
input a$:print "first line ="+a$
input a$:print "second line ="+a$
INPUT_SOURCE_IS
INPUT_SOURCE_IS N
SEE ALSO
INPUT
EDIT
COMBO
FORM
NUMBER_INPUT_SOURCE