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 work with the file, it must be closed by calling the function %FIO_Close. If execution of ESL script is terminated early, the process D2000 EventHandler will automatically close all open files.