{The S-lang C Library Reference}: SLang_init_slang

Next Previous Contents

## 55. SLang_init_slang

Synopsis

  Initialize the interpreter

Usage

  `int SLang_init_slang (void)`

Description

  The `SLang_init_slang` function must be called by all applications that use the S-lang interpreter. It initializes the interpreter, defines the built-in data types, and adds a set of core intrinsic functions.

  The function returns `0` upon success, or `-1` upon failure.

See Also

  `SLang_init_slfile, SLang_init_slmath, SLang_init_slunix`

Next Previous Contents