mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-22 10:15:09 +00:00
20 lines
578 B
Text
20 lines
578 B
Text
#REDIRECT [[OPEN#File_Access_Modes]]
|
|
|
|
[[APPEND]] is used in an output type [[OPEN]] statement to add data to the end of a file.
|
|
|
|
|
|
{{PageSyntax}}
|
|
: [[OPEN]] {{Parameter|fileName$}} '''FOR APPEND''' AS #1
|
|
|
|
|
|
{{PageDescription}}
|
|
* Creates an empty file using the filename if none exists.
|
|
* Mode places new data after the previous data in the file.
|
|
* Mode can use [[PRINT (file statement)]], [[WRITE (file statement)]] or [[PRINT USING (file statement)]] to output file data or text.
|
|
|
|
|
|
{{PageSeeAlso}}
|
|
[[OUTPUT]], [[RANDOM]], [[INPUT (file mode)]], [[BINARY]]
|
|
|
|
|
|
{{PageNavigation}}
|