SourcePoint AMD Help

Table of Contents

flist

Log command line input and responses to a file.

Syntax

flist([filename [,append]])

Where:

filename

specifies a filename. ย See Filenames for details.

append

is a boolean indicating whether new log data should be appended to or overwrite an existing file. The default is to overwrite.

Discussion

The flist function opens a log file. The function performs an action similar to the list or log commands, except that an nstring variable may be used to specify a file name. The nolist command turns logging off. ย Executing flist without specifying a filename displays the currently open log file.

Example 1

To display the current log file:

Command input:

flist()

Result:

"c:\log.txt"

Example 2

To open a log file and overwrite an existing file:

Command input:

flist("c:\temp\log.txt")

Example 3

To open a log file and append to an existing file:

Command input:

flist("c:\temp\log.txt", true)

Related Topics: