FileRead()

Reads an on-disk or in-memory text file or a file object created with the FileOpen function.

FileRead( file=any, charsetOrBufferSize=any );

Returns: any

Argument Description
file
any, required

file path or object

charsetOrBufferSize
any, optional

the charset used or the size of the buffer.

Examples

fileRead("/path/to/file.ext");

See also