This content has been marked as final. Show 4 replies
See the Help.
Menu: Help / Object Model Viewer
Classes / File
Properties and Methods: open
Parameter Type Description mode string The read-write mode, a single-character string.
One of these characters: • r (read) Opens for reading. If the file does not exist or cannot be found, the call fails. • w (write) Opens a file for writing. If the file exists, its contents are destroyed. If the file does not exist, creates a new, empty file. • e (edit) Opens an existing file for reading and writing.
type string In Mac OS, the type of a newly created file, a 4-character string. Ignored in Windows and UNIX. (Optional) creator string In Mac OS, the creator of a newly created file, a 4-character string. Ignored in Windows and UNIX. (Optional)