This document describes the functions that are available via the modules that are distributed with the S-Lang library. A more complete list of modules may be found at http://www.jedsoft.org/slang/modules/.
To utilize the functions in a model, the module must be loaded into
the interpreter. This is most easily accomplished via the
require
function. For example, the png
module may be
loaded using:
require ("png");
Sometimes it is desireable to load the module's functions into a
separate namespace to avoid collisions, e.g.,
require ("png", "PNG");
Then the png_read
function may be called using
PNG->png_read
.