Futurebasic/Language/Reference/fn toolbox

FN <toolbox> function

edit

FN <toolbox>

edit

Function

edit

✔ Appearance ✔ Standard ✔ Console

Syntax

edit

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

Description

edit

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 Also

edit

CALL