|
<<
Index
>>
|
FutureBasic
|
fn <toolbox>
|
|
function
|
|
Syntax
result =
fn ToolboxFunctionName [modifiers] ¬
[(
[{#addrExpr1 | arg1}[,
{#addrExpr2|arg2}...]])]
Description
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. FutureBasic 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 <toolbox>statement for more information.
See also
call <toolbox>