StringToFile
Sub StringToFile($fileName As String, $s As String) As Boolean
Writes the string $s to a file.
If the file cannot be saved, StringToFile returns FALSE.
Parameters
- $fileName ... String expression that specifies the absolute path and file name.
- $s ... String expression that contains the content to be written to the file.
Example:
Dim $s
$s = "feature executed successfully"
StringToFile("c:\mydocs\log.txt", $s)