DEFINE CLASS ... END CLASS
Syntax
DEFINE CLASS [ Scope ] class=Name
[ statements ]
END CLASS
|
Argument |
Description |
|
Scope |
Optional. Default = "LOCAL".
|
|
class=Name |
The name of the class to be created. |
Description
The DEFINE CLASS ... END CLASS language elements create a new class. The class may DIM and assign values to variables. It may also include functions (methods).
Examples
|
DEFINE CLASS ClassName ' dim local variables ' assign values to variables ' define functions END CLASS |
See Also
Language Reference, Reserved Words
Supported By
Alpha Five Version 8 and Above