open file "XION.tex"
open file "XION.tex" as "ISO-8859-1"
open file "XION.tex" as "UTF-8"
open file "Resources.dff" as "binary"
The file I/O manager allows reading and writing to files using the I/O commands open, read, write, truncate, and close. See the documentation for each I/O command for more information.
If no I/O method is given, the file I/O manager assumes the text I/O method using the current value of the textEncoding property as the text encoding to use.
To open files, OpenXION's security settings must allow one or both of the FILE_SYSTEM_READ and FILE_SYSTEM_WRITE security keys. To read from files, OpenXION's security settings must allow the FILE_SYSTEM_READ security key. To write to files, OpenXION's security settings must allow the FILE_SYSTEM_WRITE security key. If the required security key is denied, a script error will be triggered.
HyperTalk does not support the as keyword. HyperTalk assumes the MacRoman text encoding.