|
fileClose
|
The fileClose function closes a file with the specified fileID {fileID} . When to use The fileClose function is used to close a file and optionally erase it after
closing. The fileClose function commits any records that were written after the
fileOpen and before the fileClose functions.
(fileClose all:) (fileClose fileID option) If the save is successful, the Boolean value, true is returned
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. Here are also a number of links to functions having arguments with any of these data types.
You can always talk with the AIS at aiserver.sourceforge.net.
Name
Description
AIS Types fileID The symbol constant |all| indicating that all open files are to be closed, or
the file identifier returned from a previous call to the fileOpen function. Word option (Optional) The file close option (0 = erase file after closing, 1 = don't erase file after closing), or
(erase: = erase file after closing, noerase: = don't erase file after closing). Word
Returns:
Examples
Argument Types
ByteVector
Text
Integer
Boolean
How do I contact the AIS team?