|KiXtart 2001 Manual|
a text file.
(file number, "file name", mode)
These values are cumulative. So if you want to open a file for write
access, and create it if it does not yet exist, you should specify 5.
Notice however that a file can not be opened for read and write access at
the same time.
opens the ASCII file specified by file
name, for the internal buffer indicated by file
number. KiXtart supports a maximum of ten open files, so file
number must be within the range of 1 to 10.
The file-I/O functions in
KiXtart (OPEN, READLINE, and CLOSE)
process small configuration files. They are not intended for larger
operations, such as scanning long files. For the sake of simplicity and
speed, OPEN reads an entire ASCII file into memory, and subsequent READLINE
commands read lines stored in memory.
ReadLine( ), WriteLine(
Open(3, @LDRIVE + "\CONFIG\SETTINGS.INI") = 0