FileAppendText
Opens a file, appends the specified string to the file, and then closes the file.
If the file does not already exist, the function creates it, writes the string in the file, and then closes it.
SYNTAX
|
FileAppendText(fileName, content)
FileAppendText(fileName, content, encoding)
|
ARGUMENTS
|
fileName
|
The file to which the string is appended.
|
content
|
The string to append to the file.
|
encoding
|
You can use the following values as encoding parameters.
- Empty string. In this case, the default encoding (ANSI code
page of the operating system) is used.
- Code page. For example, "1252"
- Name. For example, "windows-1252"
- User-friendly name. For example, "Western European"
(Windows)
For a list of possible encoding parameters, see
Encoding parameters.
|
|