Gentee Programming Language > Documentation > Libraries | Download documentation |
Open a file.
uint open( str name, uint flag )
name The name of the file to be opened. flag The following flags can be used. $OP_READONLY Open only for reading $OP_EXCLUSIVE Open in the exclusive mode $OP_CREATE Create the file $OP_ALWAYS Create the file only if it does not exist
The function returns the file identifier. It returns 0 in case of an error.
See also![]() |
![]() Copyright © 2004-2006 Gentee Inc. All rights reserved. ![]() |