SET CLASSLIB

From Lianjapedia
Jump to: navigation, search

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