Difference between revisions of "(File):open"

m (1 revision: Imported docs from potato.)
Line 1: Line 1:
  
 
+
Open the file for write, read or append.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 13: Line 13:
 
* [[parent::File]]
 
* [[parent::File]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Open the file for write, read or append.}}

Revision as of 16:17, 14 February 2010

Open the file for write, read or append.

Function

Synopsis

ok = File:open( mode )

Arguments

FileMode mode
The mode to open the file in.

Returns

boolean ok
True on success, false otherwise.

See Also