Function ScreenFile() Foundation

Writes the current contents of the screen to a file.

Syntax
ScreenFile( <cFileName>      , ;
            [<lAppendToFile>], ;  // Default: .F.
            [<nWriteOffSet>] , ;  // Default: FileSize
            [<lTruncateFile>]  ;  // Default: .F.
          ) --> nBytesWritten
Description

If <lAppendToFile> is set .T. the SaveScreen() string is written to the file beginning at the position <nWriteOffSet>.

When the file pointer is not at the end of file after writing and <lTruncateFile> is set .T. the file size is reduced to the current file pointer position.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.