RELEASE LIBRARY

From Lianjapedia
Jump to: navigation, search

Purpose

Close an active API library file

Syntax

RELEASE LIBRARY <library filename>

See Also

CLOSE PROCEDURE, DO, FUNCTION, LIST PROCEDURE, PARAMETERS, PROCEDURE, SET LIBRARY, REQUIRE(), REQUIRE_ONCE()

Description

The RELEASE LIBRARY <library filename> command closes the specified API procedure library file. The SET LIBRARY command is used to open API procedure library files and can also be used to close all active API procedure library files.

The SET LIBRARY and RELEASE LIBRARY commands only affect API procedure library files, not Lianja procedure library files: these are handled by the SET PROCEDURE and CLOSE PROCEDURE commands and the REQUIRE() and REQUIRE_ONCE() functions.

The active API procedures and functions can be listed with the LIST or DISPLAY PROCEDURE commands.

Example

// Open Samples.so API procedure library
set library to Samples.so
// Open pdf.so procedure library without closing active libraries
set library to pdf.so additive
// Close pdf.so API procedure library
release library pdf.so
// Close all active API procedure library files
set library to