Difference between revisions of "RELEASE LIBRARY"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
| Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
| − | Close an active API library file | + | Close an active API library file |
==Syntax== | ==Syntax== | ||
| Line 11: | Line 11: | ||
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 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 | + | 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. | The active API procedures and functions can be listed with the LIST or DISPLAY PROCEDURE commands. | ||
| − | |||
| − | |||
==Example== | ==Example== | ||
| Line 31: | Line 29: | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Commands]] | [[Category:Commands]] | ||
| − | [[Category: | + | [[Category:C Extensions API]] |
| − | [[Category: | + | [[Category:Libraries]] |
| − | + | ||
Latest revision as of 05:27, 4 February 2013
Contents
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