Sharp OZ-707 Operation Manual - Page 96
Io Io
![]() |
UPC - 074000012141
View all Sharp OZ-707 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 96 highlights
NAME o FORMAT: NAME "E:old filename" AS "new filename" IEtm:R I Abbreviation: NA. See Also: PURPOSE: Renames files on the RAM disk E. REMARKS: The NAME command renames the disk file "old filename" as "new filename" on the RAM disk. An error occurs if "old filename" does not exist, or a file with "new filename" already exists. An error occurs if "old filename" is protected with the UP" (write-protection) function. An error occurs if "old filename" is open. The extension can be omitted if it is blank. EXAMPLE: NAME "E:OLDNAM" AS "E:NEWNAM" Names file OLDNAM on the RAM disk E as NEWNAM. NEW o FORMAT: NEW IENTER I Abbreviation: See Also: CLEAR, PASS PURPOSE: Clears existing programs and data. REMARKS: The NEW command clears all programs and data that are currently in memory. (Programs with passwords cannot be cleared.) 180 j ON ERROR GOTO p FORMAT: 1 ON ERROR GOTO {line number} . *Iabel 2. ON ERROR GOTO 0 Abbreviation: O. ERR. G. See Also: ERN, ERL, RESUME PURPOSE: Sets up an error trapping routine. REMARKS: When the error trap function is enabled, control is transferred to the error routine if an error is detected. An error message is not displayed. Within an error routine, control can be branched depending on the value of ERN and ERL. The routine is terminated by the RESUME command. Format 2 clears declaration of error trapping. Declaration of error trapping is also cleared in any of the following cases: (1) RUN command is executed. (2) The power is turned off. (3) A program is loaded. The program stops executing if an error occurs within an error routine. 181
![](/manual_guide/products/sharp-oz707-operation-manual-7aa0508/96.png)