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