Array and index modes

There are two modes of specifying the special properties of a status bar:

  1. Array mode, where you specify each property once, in an array, for allthe panels:
    PANEL-WIDTHS ( width-1, width-2, width-3, ... )
    PANEL-STYLE ( style-1, style-2, style-3, ... )
    PANEL-TEXT ( text-1, text-2, text-3, ... )

    or

  2. Index mode, where you define each panel separately, property by property, assigning an index number to each panel. However, the total number of panels must be defined before any panel style or text is defined. Therefore, you must specify all of the PANEL-WIDTHS first, as in:
    PANEL-WIDTHS width-1
    PANEL-WIDTHS width-2
    PANEL-INDEX id-1
    PANEL-STYLE style-1
    PANEL-TEXT text-1
    PANEL-INDEX id-2
    PANEL-STYLE style-2
    PANEL-TEXT text-2

It is generally recommended that you not mix array mode and index mode; however, you can specify PANEL-WIDTHS in array mode, followed by index mode for the remaining properties. For example:

DISPLAY STATUS-BAR
     PANEL-WIDTHS ( 10, 10, 10 )
     PANEL-INDEX 1
        PANEL-STYLE 0
        PANEL-TEXT "Text one"
     PANEL-INDEX 2
        PANEL-STYLE 1
        PANEL-TEXT "Text two"
     PANEL-INDEX 3
        PANEL-STYLE 2
        PANEL-TEXT "Text three".