PART TWO: GUIDE TO ADVANCED OPERATION AND PROGRAMMING
Chapter 4: Commands..........................................................................................................25
Command Channel...............................................................................................25
Reading the Error Channel................................................................................26
Housekeeping hints...............................................................................................28
Saving programs.................................... 29
Save with replace.................................................................................................30
Verifying program s.............................................................................................30
Erasing programs................................ 31
Scratch for advanced users................................................................................33
Renaming programs.............................................................................................34
Renaming and scratching troublesome program s........................................36
Copying program s...............................................................................................37
Validating the diskette.........................................................................................38
Initializing..............................................................................................................40
Chapter 5: Sequential Data F iles
......................................................................................
42
The concept of files...............................................................................................42
Opening a sequential file
....................................................................................
42
Adding to a sequential file.................................................................................. 45
Writing file data: P rint#
....................................................................................
46
Closing a file ..........................................................................................................48
Reading file data using IN P U T #
.....................................................................
49
More about INPUT (advanced)........................................................................50
Numeric Data Storage on Diskette....................................................................51
Reading File Data: Using GET#........................................................................52
Demonstration of Sequential Files
...................................................................
54
Chapter 6: Relative Data Files...........................................................................................55
The value of relative access................................................................................55
Files, Records, and Fields..................................................................................55
File limits................................................................................................................56
Creating a relative file.........................................................................................56
Using relative files: Record#..............................................................................57
Completing relative file creation........................................................................59
Expanding a relative file
....................................................................................
60
Writing relative file data
....................................................................................
61
Designing a relative record................................................................................61
Writing the record...............................................................................................62
Reading a relative record..................................................................................63
The value of index files
........................................................................................64