setBinaryType

Syntax setBinaryType (addr, type)

Params addr is the address of the object whose binary type you wish to change.

type is a string4 specifying the binary datatype to be set.

Action Changes the binary datatype of the object at addr to type.

Returns True

Examples scratchpad.x = 23;
setBinaryType (scratchpad.x, charType)
Notes addr must contain a binary value, not a scalar or complex datatype.

This verb is most useful for setting the binary type of a binary value to make sure parameters are correct for an Apple event exchange when an application requires data of a type Frontier does not directly support.

See Also getBinaryType

Discuss