RPG-like syntax DEF FN..FNEND Defines a function CHAIN Loads and passes control to another BASIC program PRINT #255: Prints to the (default) printer file PRINT NEWPAGE Clears the screen PRINT #255: NEWPAGE Advances to the next page on the printer file AIDX() Refers to the ascending index of an array, which is an array of relative sorted pointers to array elements DIDX() Same as AIDX but uses a descending index SRCH() Used to find a value in an array by retrieving the match pointer SRCH$() Used to find a string value in a string array by retrieving the match pointer RENUMBER A command used to renumber the lines within a program LOAD A command used to load a program from a library on the fixed disk SAVE A command used to save a program to a library on the fixed disk OFF A command used to exit the interactive BASIC session LISTP A command used to list the current program to the printer is an error-trapping statement that allows BASIC to suspend an error that might otherwise stop a BASIC program from running and perform an error-handling routine instead. Variants include suffixing , and other error types to a statement and immediately trap these errors. allows the BASIC program to meet special criteria. Sometimes BASIC did not have very much user space (since all S/36 programs are limited to 64K) and the area called "code space" which contains the current user program must reside within the user space. Therefore, users could choose which causes BASIC to compute with double-precision (long) numerics, or which provides more space and single-precision (short) numerics. Some programmers prefer matrix mathematics where the lowest-numbered index is 0, others prefer 1. and accomplish this. There are other uses for . RPG II programs on the S/34 and S/36 could not call each other, but BASIC programs could, using the statement. passes control from the current BASIC module to the named module, bearing a list of arguments which can become variables in the new module when it is loaded. allows the definition of a user function in BASIC which can be named and referred in the program. is placed after the last statement in a function. There are four ways to format BASIC input and output. First, unformatted; just and to your heart's content. Second, with , which in S/36 BASIC can incorporate a constant, a string variable,