Encountered an invalid shelf index.

#2078   Compile-time error

Encountered an invalid shelf index.

Additional Information

The maximum size of 'X' is 'Y', but the given index is 'Z'.
    where X is the name of the affected counter, stream, or switch, Y is its maximum size, and Z the given constant index.

Recovery

Compilation continues but no compiled source code file will be saved.

Explanation

When a shelf is declared as either fixed or bounded, OmniMark verifies that a constant index lies within the shelf's bounds.