Difference between revisions of "SET CLASSLIB"

From Lianjapedia
Jump to: navigation, search
 
(9 intermediate revisions by 2 users not shown)
Line 3: Line 3:
  
 
==Syntax==
 
==Syntax==
SET CLASSLIB TO [<.vcp filename> | (<expC>) [ADDITIVE]]
+
SET CLASSLIB TO [<.vcp filename> | (<expC>) [ALIAS <alias>] [ADDITIVE]]
  
 
==See Also==
 
==See Also==
[[ADDOBJECT()]], [[CLOSE CLASSLIB]], [[COMPILE]], [[CREATEOBJECT()]], [[DEFINE CLASS]], [[DISPLAY CLASSES]], [[DO]], [[FUNCTION]], [[FUNCTION_EXISTS()]], [[LIST CLASSES]], [[PARAMETERS]], [[PEXIST()]], [[PROCEDURE]], [[RELEASE CLASSLIB]], [[SET PROCEDURE]]
+
[[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

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')