Macro command TfOpenForWrite

<< Click to Display Table of Contents >>

Navigation:  Macros > Macro commands and parameters > Macro reporting commands > Macro write to a text file >

Macro command TfOpenForWrite

Purpose:

Open a text file for writing

 

General notation:

TfopenForWrite( FileIndex, FileName, Separator )

 

An opened file can not be read at the same time.

 

Example:

Opening a text file with a semicolon as a separator:

 TfOpenForWrite( 1, 'output.txt'';' )

 

See also:

TfWrite

TfWriteLn

TfClose

 

Back to reporting commands.