fdisplay
|
The fdisplay function converts the expression {exp} to ascii text and
writes the text value of the expressions to the specified fileID {fileID}.
The fileID must be assigned from a previous fileOpen function. The fdisplay
function always returns a Boolean value true. Usage Data is written to a file with the fileWrite, fileWriteln, fwriteln, fdisplay or fileDisplay function,
however, records are not actually committed to the file until the file is closed.
Thus, attempting to read a record immediately after a fileWrite, fileWriteln, fwriteln, 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.
(fdisplay fileID exp ) Always the Boolean value, true.
Expression:
Arguments
Name
Type
Description Argument: fileID Integer
An Integer representing the fileID of the file which was opened with a fileOpen function. Argument: exp String Text ByteVector
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
|