Syntax: |
GETFILE file$, lin#, dat#$ | PUTFILE file$, lin#, dat#$ |
Reads (GET) or writes (PUT) the value of the variable dat#$ from/to the file file$ and the line number lin#.The first line has the index 0. There’s no more than 256 lines possible. |
Sample: |
a$=”NAME”; PUTFILE “Test.txt”, 0, s$ a$=”” GETFILE “Test.txt”, 0, a$ PRINT a$, 100, 100 SHOWSCREEN MOUSEWAIT |
|