Difference between revisions of "SET CLASSLIB"
Yvonne.milne (Talk | contribs) |
|||
(8 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
==See Also== | ==See Also== | ||
− | [[ | + | [[CLASS_EXISTS()]], [[CLOSE CLASSLIB]], [[COMPILE]], [[CREATEOBJECT()]], [[DECLARE - DLL]], [[DEFINE CLASS]], [[DISPLAY CLASSES]], [[DO]], [[FUNCTION]], [[FUNCTION_EXISTS()]], [[LIST CLASSES]], [[LIST CLASSLIB]], [[PARAMETERS]], [[PEXIST()]], [[PROCEDURE]], [[RELEASE CLASSLIB]], [[SET PROCEDURE]] |
==Description== | ==Description== | ||
The SET CLASSLIB TO <.vcp filename> command opens the specified class library file. The filename can be substituted with a <expC>, enclosed in round brackets, which returns a valid filename. You can place as many classes as you want in a class library file. | The SET CLASSLIB TO <.vcp filename> command opens the specified class library file. The filename can be substituted with a <expC>, enclosed in round brackets, which returns a valid filename. You can place as many classes as you want in a class library file. | ||
− | If the optional ADDITIVE keyword is specified then any class libraries that are already open are left open and the new class library is added. The SET CLASSLIB TO command, without any <.vcp filename> specified, closes all active class library files. | + | If the optional ADDITIVE keyword is specified then any class libraries that are already open are left open and the new class library is added. The SET CLASSLIB TO command, without any <.vcp filename> specified, closes all active class library files. Up to 40 class libraries can be open at one time. |
==Example== | ==Example== | ||
<code lang="recital"> | <code lang="recital"> | ||
set classlib to myclasses | set classlib to myclasses | ||
+ | currclasslib = set('classlib') | ||
</code> | </code> | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Commands]] | [[Category:Commands]] | ||
+ | [[Category:Libraries]] | ||
[[Category:Set_Commands|CLASSLIB]] | [[Category:Set_Commands|CLASSLIB]] |
Latest revision as of 05:55, 2 January 2014
Contents
Purpose
Open a class library file
Syntax
SET CLASSLIB TO [<.vcp filename> | (<expC>) [ALIAS <alias>] [ADDITIVE]]
See Also
CLASS_EXISTS(), CLOSE CLASSLIB, COMPILE, CREATEOBJECT(), DECLARE - DLL, DEFINE CLASS, DISPLAY CLASSES, DO, FUNCTION, FUNCTION_EXISTS(), LIST CLASSES, LIST CLASSLIB, PARAMETERS, PEXIST(), PROCEDURE, RELEASE CLASSLIB, SET PROCEDURE
Description
The SET CLASSLIB TO <.vcp filename> command opens the specified class library file. The filename can be substituted with a <expC>, enclosed in round brackets, which returns a valid filename. You can place as many classes as you want in a class library file.
If the optional ADDITIVE keyword is specified then any class libraries that are already open are left open and the new class library is added. The SET CLASSLIB TO command, without any <.vcp filename> specified, closes all active class library files. Up to 40 class libraries can be open at one time.
Example
set classlib to myclasses currclasslib = set('classlib')