


The CLASS clause is also used to define enumerations. For example, the VtBrushStyle class is defined by the Microsoft Chart Control in the copybook as follows:
* Brush Styles
* VtBrushStyle
CLASS @VtBrushStyle
CLSID, B8CC5B99-BD29-11D1-B137-0000F8753F5D
NAME, "VtBrushStyle"
* long VtBrushStyleNull
ENUMERATOR, @VtBrushStyleNull, 0
* long VtBrushStyleSolid
ENUMERATOR, @VtBrushStyleSolid, 1
* long VtBrushStylePattern
ENUMERATOR, @VtBrushStylePattern, 2
* long VtBrushStyleHatched
ENUMERATOR, @VtBrushStyleHatched, 3
Enumerators are used just like level 78 data items.