Futurebasic/Language/Reference/fn toolbox

FN <toolbox> functionEdit

FN <toolbox>Edit


✔ Appearance ✔ Standard ✔ Console


result = FN ToolboxFunctionName [modifiers] ¬


This function executes a Toolbox function as defined in Inside Macintosh. A Toolbox function (as opposed to a Toolbox procedure) returns a value.

ToolboxFunctionName must be the name of a Macintosh Toolbox function. FB recognizes the names of hundreds of Toolbox functions and procedures; advanced programmers can also use the TOOLBOX statement and the TBALIAS statement to add new Toolbox function/procedure names.

The use of the modifiers, addrExpr& and arg parameters is identical to their use in the CALL <toolbox> statement. See the description of the CALL statement for more information.

See AlsoEdit