{The S-lang C Library Reference}: SLang_execute_function

Next Previous Contents

## 81. SLang_execute_function

Synopsis

  Execute a user or intrinsic function

Usage

  `int SLang_execute_function (char *fname)`

Description

  This function may be used to execute either a user-defined function or an intrinisic function. The name of the function is specified by `fname`. It returns zero if `fname` is not defined, or `1` if the function was successfully executed, or `-1` upon error.

Notes

  The function `SLexecute_function` may be a better alternative for some uses.

See Also

  `SLang_run_hooks, SLexecute_function, SLang_is_defined`

Next Previous Contents