a line number, or a label. Third, with and , which place 5250-type display fields on the CRT in immediate mode. Fourth, by using a workstation file (opened with and so forth) and performing various combinations of and to that workstation file, using SDA-generated screen formats similar to those in other S/36 applications. and , as well as and , can direct BASIC to a line number or a label that contains the keyword . An IMAGE statement contains decimals, commas, dollar signs, dashes, and pound signs ("#") in representation of the substituted numeric or alphameric values. A FORM statement denotes the size of the variables to be read or written. To save a numeric value of .00 to 99,999.99, use this notation: A label is a tag on a line as follows: If desired, the statement can be used instead of . and are already familiar to COBOL programmers and describe the actions taken to access S/36 disk files using BASIC. It isn't possible to access every single type of S/36 file because these include system files, libraries, and folders, but every user-created S/36 file with a fixed record length (only FORTRAN programs can use variable record lengths) will suffice. Disk files can be opened sequentially, by index, or relatively (by record number). If a file is delete-capable, records can be deleted using the statement. To add a record, use (with specified in the statement) and to update use . In S/36 BASIC, to print to the printer, a device file must be used. A default printer file called #255 always exists when BASIC is started. It has a printer name of BASIC255 and opens the device that is the default printer for the terminal that begins a BASIC session. If desired, it is possible to create a different printer file numbered between 1 and 254. Use and so forth to do this, specifying columns or device ID or other parameters as needed. The keyword can be used to trap the page overflow condition for the printer. Some versions of BASIC allow the programmer to sort an array. S/36 BASIC doesn't provide a function for this, but it does provide an interesting remedy. The programmer can define an array with the same number of elements as the target array and use AIDX or DIDX to create an ascending or descending index. Each element of the new array will contain