O/S FILE I/O FUNCTIONS()

filePro has a full set of I/O functions that allow access and manipulation of operating system files. These functions can be used on any processing table.

Note: I/O functions cannot be used to access any file with a name formatted as a filePro file. For example, you cannot access a file named screen.1, index.A or key.

Refer to the following I/O functions links.

CLOSE

Close an open file

CREATE

Create a file with a name and optional permissions

FILESIZE

Get the size (in bytes) of a file

OPEN

Open a file for reading/writing

READ

Read bytes from a file

READLINE

Read bytes from a file up to a new line (or end of file)

REMOVE

Remove an existing file

SEEK

Move to a position in an open file

TELL

Get the current position of an open file

WRITE

Write bytes to a file

WRITELINE

Write a line to a file and append a newline character