Debug.SendToFile

number Debug.SendToFile ( 

string  Filename,

boolean Overwrite = true )

Description

Sends the output to a text file as well as the debug dialog.

Parameters

Filename

(string) The full path to the file where the debug output will be written to.

Overwrite

(boolean) Whether the debug information will overwrite Filename, if it exists, or append to it.

VALUE

DESCRIPTION

true

Overwrite Filename if it exists. (Default)

false

Append to Filename if it exists.

Returns

(number) Returns 0 if successful, or non-zero if an error occurred.

ResultVariable

When adding an action with the action editor, you can use this field to specify a variable that the return value will be stored in.

See also:  Related Actions