rez.getStringResource

Syntax rez.getStringResource (path, id, addr)

Params path is a path to the file from which you wish to get the indicated resource.

id is the ID of the resource of type 'STR ' you want returned.

addr is the address where the returned resource data is to be stored.

Action Gets a string resource with resource id from the file at path. If found, it creates a string value at addr containing the resource text.

Returns True if the identified string resource was found, false otherwise

Examples rez.getStringResource ("iconstealer", 130, @s); return (s)
» system.deskscripts.iconstealer

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.

This verb converts the format of the string as stored in the standard 'STR ' format (with length byte) to Frontier's string format (no length byte).

This verb is implemented as a script.

See Also rez.getResource

Discuss