Futurebasic/Language/Reference/def createresfile
(Redirected from Futurebasic/language/reference/def createresfile)
DEF CREATERESFILE Statement edit
DEF CREATERESFILE edit
Statement edit
✔ Appearance ✔ Standard ✔ Console
Syntax edit
DEF CREATERESFILE(fileName$)
Revised edit
August 2002 (Release 7)
Description edit
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 Also edit
DEF OPEN; OPEN; USR OPENRFPERM