StringToFile

Top  Previous  Next

function StringToFile(sFileName As String, s As String) As Boolean

 

Writes the string s into a file.

 

If the file could not be saved, StringToFile returns FALSE.

 

Parameters

 

sFileName ... String expression. Absolute path and filename.
s ... String expression.

 

Example:

Dim s

 

= "feature executed successfully"

StringToFile("c:\mydocs\log.txt", s)




Translate document: