The OpenAppend function opens a text file for writing. If the file already exists, the file will be opened for writing at the end of the file and any previous information will not be erased.
If the file cannot be opened, the function will return false.
To add more records to the file use the WriteLine and WriteString functions.
If a colon is included in the path, then the path is literal and used as is, so you can open any file in any folder. If a colon is not included, then the path is relative to the Trading Blox directory. If a // is included, then the path is literal so you can access any file on any folder on any server.
If the file name includes a colon, then the file name is considered a full path, and that full path will be used.
If the file name starts with \\ then the file name is considered a full path to a server location.
If the file name does not contain a colon or \\, then the file name is considered relative to the main Trading Blox folder.
Syntax: |
---|
fileNumber = fileManager.OpenAppend( aFullFileName ) |
Parameter: |
Description: |
---|---|
aFullFileName |
The full Path & File-name of the file to open. |
Example: |
---|
' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
Returns: |
---|
fileNumber = Trading Blox assigned file identication number of the file opened so additional information can be added. |
Links: |
---|
See Also: |
Edit Time: 9/21/2020 1:48:19 PM |
Topic ID#: 438 |