Futurebasic/Language/Reference/fn toolbox

FN <toolbox> functionEdit

FN <toolbox>Edit

FunctionEdit

✔ Appearance ✔ Standard ✔ Console

SyntaxEdit

result = FN ToolboxFunctionName [modifiers] ¬
   [([{#addrExpr1&|arg1}[,{#addrExpr2&|arg2}...]])]

DescriptionEdit

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

CALL