rez.getResource
| Syntax |
rez.getResource (path, resourcetype, id, addr)
|
| Params |
path is a path to the file from which you wish to get the indicated resource. resourcetype is a string4, indicating the type of resource you want. id is the resource ID of the resource you want returned. addr addr is the address of the value where the resource data is to be stored.
|
| Action |
Gets a resource from a file, using the resource's ID. If found, it creates a binary value at addr containing the resource data.
|
| Returns |
True if the indicated resource was found, false otherwise
|
| Examples |
rez.getResource ("Frontier.root", 'DLOG', 512, @scratchpad.dlog) » true
|
| Platform Notes |
This verb is only implemented in the Mac OS version of Frontier.
|
| Notes |
This is an advanced Frontier verb of primary interest to implementers and advanced scripters. It is not necessary to understand it to use Frontier effectively for most tasks.
|
| See Also |
"rez.getNamedResource "
|