FileOpen

Opens a file for reading or writing and returns a file object for future operations

Method Signature

FileOpen(file=[string], mode=[string], charset=[string], seekable=[boolean])

Arguments

ArgumentTypeRequiredDescriptionDefault

file

string

true

The file to open.

mode

string

false

The mode to open the file in. Defaults to "read".

read

charset

string

false

The character set to use when reading or writing the file. Defaults to "utf-8".

utf-8

seekable

boolean

false

Whether the file should be opened as seekable. Defaults to false.

Examples

Last updated

Logo

Copyright & Register Trademark by Ortus Solutions, Corp & Ortus Software, LLC