Attributes

The attribute system in RexxCD enables the user to control about every aspect of the program.

The attributes (also called FIELDS) are grouped in units called OBJECTS. If there are more than one instance of an object (e.g. WINDOW), the different instances of the object are referenced by their NAME.

The attributes are set with the ARexx command SETATTR, and read with the command GETATTR. The attributes system is also used for LOAD/SAVE SETTINGS.

For example, if you want to open the lyrics window, you set the OPEN field of the WINDOW object called LYRICS to 1.

Like this:
SETATTR OBJECT WINDOW NAME LYRICS FIELD OPEN VALUE 1

Objects:


APPLICATION


SETTINGS


BUTTON


ACTION


DEVICE


VOLUME


DRIVE


DISC


TRACK


FONT


WINDOW