RELEASE LIBRARY

From Recital Documentation Wiki
Jump to: navigation, search

Purpose

Close an active API library file built with the Recital SDK


Syntax

RELEASE LIBRARY <library filename>


See Also

CLOSE PROCEDURE, DO, FUNCTION, LINK, 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 Recital/4GL 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.

For full details on using the Recital SDK, please see the SDK documentation.


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


Products

Recital Server, Recital