15.4 @@DEC_IDX Command

The @@DEC_IDX command is used to decrement an index by 1. This index name may be a new or existing index. If the index is a new index name, then the index value will be set to -1. The maximum number of indexes which can be used in an application template is 999.

                                                         Required 

                                                                  

  @@DEC_IDX ----- IDX_NAME ----- name --------------------------| 

                                                                  

                                                                  

Parameters

IDX_NAME

Specifies the new or existing index name. The first character of the two character index name must be non-numeric.

Examples

The following example applies to the @@DEC_IDX command.

Example 1: Decrement index CF.

@@DEC_IDX IDX_NAME(CF)