Futurebasic/Language/Reference/def createresfile
< Futurebasic | Language | Reference
DEF CREATERESFILE StatementEdit
DEF CREATERESFILEEdit
StatementEdit
✔ Appearance ✔ Standard ✔ Console
SyntaxEdit
DEF CREATERESFILE(fileName$)
RevisedEdit
August 2002 (Release 7)
DescriptionEdit
DEF CREATERESFILE
replaces the obsolete CALL CREATERESFILE
which has seen such heavy use in the past. Mac OS X made the call obsolete, but by exchanging the DEF
keyword for the optional CALL
keyword, you can breath new life into your programs. The DEF
version of the call works in all versions of the system software from system 7.x to Mac OS X. If this call is successful, a resource file is created in the current directory. You may set the current directory using FOLDER
.
DEF CREATERESFILE
may also be used to add a resource fork to an existing file. Creating the resource file does not automatically open it.
See AlsoEdit
DEF OPEN; OPEN; USR OPENRFPERM