fileWriteln
|
The fileWriteln function converts the expressions to ascii text and
writes the text value of the expressions to the specified fileID, {fileID},
(see the fileOpen function). The fileWriteln function always adds the
_eol character sequence at the end of each line before writing to the file. Usage Data is entered into a file with the fileWrite, fileWriteln,, fdisplay
or fileDisplay functions, however, records are not actually committed to the file
until the file is closed. Thus, attempting to read a record immediately after a fileWrite,
fdisplay or fileDisplay will result in an error. In order to verify records that have been
written, it is necessary to close the file and save the file (fileClose
with an option argument equal to 1) . The file can then be re-opened and read
with the fileRead function.
(fwriteln fileID exp) If the fwriteln is successful, the Boolean value, true is returned.
Expression:
Arguments
Name
Type
Description Argument: fileID Integer
An Integer representing the fileID of the file returned from a previous
fileOpen function. Argument: exp Symbol ByteVector Text String
An expression.
Returns:
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Here are the links to the data types of the function arguments.
ByteVector | Text | Integer | Boolean |
Here are also a number of links to functions having arguments with any of these data types.
Analytic Information Server (AIS)AIS Component Systems
|