Futurebasic/Language/Reference/usr openrfperm

Syntax edit


Revised edit

August, 2002 (Release 7)

Description edit

With the release of Mac OS X, the ability to easily open a resource file has dissipated like smoke. But a simple modification will revive your older FN OPENRFPERM. Just change the FN to USR and a new FB routine will work in version of the System software from System 7.x to Mac OS X. As with the original toolbox function, the parameters are the file name, the volume reference number (which is handled in the background by FB) and the permission constant. Legal permission constants are: _fsRdPerm _fsrdwrperm _fsrdwrshperm _fscurperm _fsrdperm _fswrperm