This will open a file for appending. If the file exists output will begin at its end. If the file does not exist a new one will be created. You can open up to 32 files at the same time, using a file number range of 1 through to 32. The file number used by the append commands are completly seperate from the numbers used by dbpro.
SYNTAX
OPEN TO APPEND File Number, Filename$
This will open a file for writing. If the file exists it will be overwritten. If the file does not exist a new one will be created. You can open up to 32 files at the same time, using a file number range of 1 through to 32. The file number used by the append commands are completly seperate from the numbers used by dbpro.
SYNTAX
OPEN TO APPEND WRITE File Number, Filename$
This command will close a file previously opened with the OPEN TO APPEND or OPEN TO APPEND WRITE commands.
SYNTAX
CLOSE APPEND File Number
This command will append the specified string to the file opened with the OPEN TO APPEND or OPEN TO APPEND WRITE command. The string will be terminated in the file with the standard carriage return ASCII characters (13)+(10).
SYNTAX
APPEND STRING File Number, String$
This command will append a long word of data to the file previously opened with the OPEN TO APPEND command from an integer value. A long word represents four bytes.
SYNTAX
APPEND LONG File Number, Long
This command will append a byte of data to the file previously opened with the OPEN TO APPEND command from a byte value.
SYNTAX
APPEND BYTE File Number, Byte
This command will append a float to the file previously opened with the OPEN TO APPEND command from a float value.
SYNTAX
APPEND FLOAT File Number, Float
This command will append a word of data to the file previously opened with the OPEN TO APPEND command from an integer value. A word represents two bytes.
SYNTAX
APPEND WORD File Number, Word