Sharp OZ-707 Operation Manual - Page 112
Format, Abbreviation, Purpose, Remarks, Example, Format
UPC - 074000012141
View all Sharp OZ-707 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 112 highlights
SAVE p o FORMAT: SAVE ["d:filename" [,A]] d: E,PACOM,CAS,COM Abbreviation: SA. See Also: LOAD, DSKF, MERGE, FILES PURPOSE: Saves the basic program to the specified device. REMARKS: The SAVE statement names a BASIC program in memory and then writes it to the specified file. A filename is the name given to a program or a set of data. The desired file can be readily retrieved by the Card if it is given a filename. A filename may consist of up to eight alphanumeric characters or symbols. If all options are omitted, COM is assumed for the device name. If the A option is specified, the file is saved in ASCII format, otherwise it is saved in intermediate code format. When the device name is PACOM, CAS, or COM, the file is saved in ASCII format even if the A option is not specified. If no extension is specified, .BAS is assumed. The extension can consist of up to three characters. An existing file will be erased if the same filename is specified, but an error occurs if the existing file has the UP" (write-protect) attribute set (see SET command). An error occurs if the program in memory is made secret. EXAMPLE: SAVE "E:PR01", A Saves the program as an ASCII file with the name "PR01" on RAM disk E. 212 SET o FORMAT SET "E:filename", { U"P~""} Abbreviation: SE. See Also: SAVE PURPOSE: Assigns or removes file protection. REMARKS: The contents of a file cannot be inadvertently deleted or rewritten if UP" is specified. To clear the protection, specify a space ("~"). Once protection has been removed, the file can be deleted or written to freely. Wildcards (* or ?) can be used for filename specification, but the extension must not be omitted. For example, the .BAS extension must be specified. An error occurs if the SET command is used with a file that is open. EXAMPLE: SET "E:PAYRUN.BAS","P" Protects the program "PAYRUN.BAS· on the RAM disk E from being written to, erased, or renamed. 213