FIO_WriteLine

FIO_WriteLine

%FIO_WriteLine function


Function

The function writes the specified text, followed by the line terminator, to the specified file.

Declaration

BOOL %FIO_WriteLine( INT in handle, TEXT in text )

Parameters

handle

Return value of a file, returned by the functions %FIO_Create or %FIO_OpenAppend.

text

Text to write.

Return value

@TRUE - text written, @FALSE - cannot write the text.

Note

Having finished the work with the file, it must be closed by calling the function %FIO_Close. If execution of ESL script is terminated early, the D2000 EventHandler process will automatically close all opened files.