[Contents] · [Home] · [Mail]

SALIERI Language - IFUNC

Type:
IFUNC: string -> function

Call syntax:
IFUNC(funcName)

Description:
Function IFUNC returns the internal function object with name funcName. This constructor is almost never used by the SALIERI programmer; its main purpose is to provide a consistent representation of internal functions in order to make them applicable like user defined functions.

Error conditions:
An error condition occurs, if there extsts no internal function with name funcName.

Example:
> IFUNC("write")
Result = IFUNC("write")
> IFUNC("IFUNC")
Result = IFUNC("IFUNC")
> IFUNC("WRITE")
Error in command-line:
Unknown internal function: WRITE
(occured while executing function "IFUNC")

See also: internal function (Object Type), function (Object Type), apply, Built-in Functions.


[Contents] · [Home] · [Mail]
© sic!systems, page frame designed by hh; this page has been automatically generated from the SALIERI Documentation Database.