Technical data

199
S:\hp11807a\OPT001\USRGUIDE\BOOK\chapters\referenc.fb
Chapter 5, Reference (Alphabetical)
Disks
To enter the data
retrieval program:
1. Press TESTS.
2. Select IBASIC Cntrl from the SET UP TEST SET list (or IBASIC from the
Test Function field).
3. Position the cursor to the IBASIC command field (large field in the upper part of the
display) and select it. From the list of characters in the Choices field, enter the
following IBASIC program statements and commands.
4. Enter SCRATCH to delete the previous IBASIC program. Be sure it’s saved first.
5. Enter the following program:
10 DIM A$[120]
Sets the string length to 120.
20 ASSIGN @File TO ”RES:,700,0”
Opens a path to the file called “RES” (for results).
30 ON ERROR GOTO 80
Exits at end of file if an error is encountered.
40 LOOP
Extracts file contents.
50 ENTER @File;A$
Transfers part of the file to the string.
60 OUTPUT 9;A$
The string is output at the serial port.
70 END LOOP
Goes back to get more of the file.
80 END
End of the program.
6. Press k1 (Run) to run the entered IBASIC program.