Sharp OZ-707 Operation Manual - Page 91
Load?
![]() |
UPC - 074000012141
View all Sharp OZ-707 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 91 highlights
LOAD o FORMAT: LOAD ["d:filename" [,R] ] 1ENTER I d: E,PACOM,CAS,COM Abbreviation: LOA. See Also: SAVE, CHAIN, MERGE, LOAD? PURPOSE: Loads a BASIC program. REMARKS: LOAD loads a program with the specified filename. An error occurs if the program area is exceeded as a result of loading of a program. In such a case, clear unnecessary variables from the data area. If program filenames have been displayed with the FILES command, r nthe desired program can be simply loaded by first choosing it with the or W key, then entering CD 1ENTER I. If all options are omitted, the program is loaded through the serial 1/0 port. The file extension may be omitted only it it is ".BAS". When the device name (d:) is PACOM, CAS, or COM, only ASCII code data is valid. If a load error occurs, a program written in intermediate format will not be loaded at all, but a program written in ASCII format is loaded to the line just before the line where the error occurred. Specify ",R" to run the program as soon as it is loaded. While a program is being loaded, all tiles are closed, and all values or variables specified for the USING, ON ERROR GOTO, WAIT, LOCATE, ERL, and ERN commands are cleared. 170 Up to 256 bytes of program code can be loaded at a time. An error occurs if no delimiter is encountered before loaded data exceeds 256 bytes. When a serial 1/0 device is used for loading, delimiters and the end-of-file code may be set with the OPEN command. (If no end-of-file 0 0 code was received, use the key to stop loading.) When a delimiter is received, the computer translates the loaded data into an intermediate format. An error occurs if a single line exceeds 256 bytes or the first character of a line is not a numeral (line number). LOAD? o FORMAT: LOAD? ["d:filename"] IENTER I d: E, PACOM, CAS, COM Abbreviation: LOA.? See Also: LOAD PURPOSE: Compares a program saved on a device with one stored in memory. REMARKS: LOAD? compares the program with the given filename with the one in memory. An error occurs if a mismatch was found during comparison. If all options are omitted, LOAD? compares the program read from the serial 110 port with the one in memory. The file extension may be omitted only if it is ".BAS". When the device name (d:) is PACOM, CAS, or COM, only ASCII format data is valid. Up to 256 bytes of program code can be loaded at a time. An error occurs if no delimiter is encountered before loaded data exceeds 256 bytes. When a serial 1/0 device is used for loading, delimiters and the end-ot-file code may be set with the OPEN command. (If no end-of-Iife 0 0 code was received, use the key to stop loading.) 171
![](/manual_guide/products/sharp-oz707-operation-manual-7aa0508/91.png)