Static (or built-in) objects are objects that are defined by the developer and are automatically created on system startup (if they are not present in the system at launch time). Also, such objects are prohibited from being deleted.
For each static object of a custom class name and title must be specified. Later these name and title can be accessed using the properties System.staticName[System.StaticObject] and System.staticCaption[System.StaticObject] respectively.
Static objects of built-in classes are numbers, strings, date values, etc., used by the user in describing the logic.
Static objects can be used to create a limited set of objects of a certain class. Such a set can be used as an enumerated data type to provide a choice from a limited set of values.
Static objects of custom classes are defined in the CLASS instruction in a block enclosed in braces.
CLASS Direction 'Direction'
direction = DATA Direction ();
// creating a form by choosing an object of Direction class
FORM directions 'Directions'
OBJECTS d = Direction
PROPERTIES(d) READONLY staticCaption
LIST Direction OBJECT d