File Management Instructions
Instruction |
Action |
Close the specified file. |
|
Copy a file from source to destination. |
|
Determine whether the end of a file has been reached. |
|
Read a character from a file. |
|
Read a character string from a file. |
|
Move a file from source to destination. |
|
Open the specified file in accordance with the specified access mode. |
|
Write a character to a file. |
|
Write a character string to a file. |
|
Read N data items of the same type from a file and store them in a buffer allocated by ALLOC_BUFFER. |
|
Move the file pointer to a new position. |
|
Enable size and date information on a file to be obtained. |
|
Write N data items of the same type to a file from data stored in a buffer allocated by ALLOC_BUFFER. |
|
Rename a file. |
|
Delete a file. |
Before using any of the file management instructions, except FSTAT, RENAME, UNLINK, FILETOBUF or BUFTOFILE, you must first open the file using an FOPEN instruction.
Before any program including the FOPEN instruction ends, it must execute an FCLOSE instruction.