Debug.SendToFile

number Debug.SendToFile ( 

string  Filename,

boolean Overwrite = true )

Example 1

nResult = Debug.SendToFile("C:\\MyLog.txt", true);

Sends the output to the text file "MyLog.txt", overwriting any existing copy and returns the result in the variable nResult.

See also:  Related Actions