Desk Calculator Operations; Basic Statement Listing - IBM 5110 Basic Reference Manual

Hide thumbs Also See for 5110:
Table of Contents

Advertisement

88
Desk Calculator Operations
You can perform several desk calculator operations using BASIC statements
without preceding statement numbers. These operations are executed
immediately after you press the EXECUTE key. Desk calculator operations
include:
• Assignment of values to variables (both character and numeric) without the
keyword LET
• PRINT (to display) and PRINT FLP (to print) statements
• MAT PRINT and MAT PRINT FLP statements
• DIM statements to dimension arrays and variables
• Character and numeric expressions
• MAT assignment statements
BASIC STATEMENT LISTING
The statements used in the BASIC language for the system are listed below. A
brief description of each statement is included.
CHAIN-Ends a program, then loads and begins executing another program.
CLOSE [FILE ]-Deactivates open files.
DATA-Creates an internal data table of values you supply.
DEF-Defines a function to be used in the program.
DELETE FILE-Removes a specific record from a key-indexed file.
DIM-Specifies the size (dimensions) of an array or character variable length.
END-Ends a program.
EXIT-Specifies error exits for corresponding I/O error conditions.
FNEND-Ends a function defined in a DEF statement.
FOR-Begins a loop.
FORM-Specifies format for displayed/printed output and records in files.
[ MAT] GET-Assigns values from a stream I/O file to variables or array
elements.
GOSUB-Branches the program to the beginning of a subroutine.
GOTO-Branches the program to a specific statement.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents