Sharp OZ-707 Operation Manual - Page 93
com~an, wit~out
UPC - 074000012141
View all Sharp OZ-707 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 93 highlights
Example : 213000~:' CLOLSCATE LOCATE 2,1: PRINT "ABCDE" ,2: PRINT "123" ABCDE 123 )- Format 2 clears the display start position. tt tdUhisreeincdgtilsytpholeavyeLrwOwiCtn~AttoeTuntE. acUffoseemct~ltnhagend~~~~lIIo.~w~s~etemxxattnetdoxcbeectwlweraihttreertnheetcowhaahrnoaylcetpedarirsstpaolarfey . iIsf tshceronlluemd btoersohfocwhaarllatchteersc hexce~edrsth arac , ~vleimnitsif of the display, the display the display start position was specified with the LOCATE command . LOF p o FORMAT: LOF file number Abbreviation: See Also: OPEN PURPOSE: Returns the size of the specified file. REMARKS: The LOF command returns the size of a file with the specified file number. The actual size of t~e file is displayed in bytes. If the device name is COM, this command returns the byte count remaining in the 20-character (40-byte) buffer. An error will occur if the specified file is not open. RAM disk E is used in units of 256 bytes; the total size of all files will not be equal to the total used RAM disk area (number of bytes). EXAMPLE: 10: OPEN "E:FILE01" FOR INPUT AS #2 20: N=LOF(2) 30: PRINT "FILE01 FILE SIZE IN BYTES IS ";N 40: CLOSE #2 50: END f (10] Opens the file FILE01 for input. [20-30] Finds the size of the file and prints out the value. [40] Closes the file. 174 175 d