This function is used to close a text file.
Important: For a given alias, the VaToolBx DLL must have already been loaded (using the LOAD_DLL instruction) when the VaToolBxOpenFile function is called, and must still be loaded when the VaToolBxCloseFile function is called.
Context
Windows client,
Windows server,
Java client,
Java server,
Adelia Web client,
Adelia Cloud client.
Parameters
ALPHA(n) |
Alias |
Logical name given to the file to be closed. |
NUM_BIN_4 |
ReturnCode |
Return code for the operation: 0 Operation completed successfully. 2 Alias not defined. |
Example
Alias = 'TextFile'
CALL_DLL 'VATOOLBX.DLL' 'VaToolBxCloseFile' Alias ReturnCode
List of the VaToolBx functions by topic