Keyboard Generated Data Files; Function Keys - IBM 5110 Basic Reference Manual

Hide thumbs Also See for 5110:
Table of Contents

Advertisement

28
Keyboard Generated Data Files
You can create a data file directly from the keyboard using the LOAD
command. First, enter LOADO, DATA, then press EXECUTE. The system
responds with automatic line numbering (starting with 0010) followed by a
colon. You can then enter numeric and character data. The end of a data file
line is indicated when you press the EXECUTE key. Data file lines are not
checked for proper syntax. A typical data file line is:
0010: APRIL, 312.41, 'JONES', 419.21, 'BALANCE'
After all data file lines are entered into the work area, they can be saved. with
the SAVE command. Data file lines are saved without line numbers or the
colon. When data file lines are listed, the colon is displayed. Data in a
keyboard-generated data file can be accessed by input/output statements
during program execution or by a procedure file to control program execution.
With line numbers and the colon removed, the data file is a continuous string
of data items or records.
You can edit a saved data file by first loading it back into the work area with a
LOAD command. When saved, the line numbers and colon are again removed.
When loaded, data lines are preceded by line numbers, starting with 0001 and
incrementing by 1, and the colon.
Function Keys
Ten function keys are available for your use in invoking programs or commands
of your choosing. The function keys are the numeric keys 0-9 to the right of
the typewriter-like keyboard. The functions invoked by these keys are defined
in a LOAD command. First, enter a LOAD command specifying the key to
which a function is to be assigned. For example, to assign a function to the 6
key, enter:
LOADO, KEY6 (then press the EXECUTE key)
~-
........
,/
,
\
.....

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents