Xbasic

loadClass Function

Syntax

dim result as L = loadClass(C className)

Arguments

classNameCharacter

The name of the Xbasic class to load from an .a5xbclass file. The class name can optionally include the .a5xbclass file extension.

Returns

resultLogical

.t. or .f. depending on whether or not the class was successfully loaded.

Description

Loads a class definition from an .a5xbclass file.

Example

dim flag as l 
flag = loadClass("helloclass")
dim h as helloclass

See Also