Navigation:  Reference > Commands >

Decrement

Print this Topic Previous pageReturn to chapter overviewNext page

 

Decrement an I or R type field.

 

 

DEC fn/vRequired - The name of the field being decremented.  Must be of I or R type.

 

 

COMMENTS

This is the same as subtracting 1 from the field.  For example:

 

EXAMPLE

         define CNTR type I

       DEC CNTR is // equivalent to:   CNTR = CNTR - 1

 

This command provides a better method to subtract 1 from a field.  This command also runs a little faster than the standard subtraction routine.

 

 

SEE ALSO

INC

 

 


Page url: http://www.cassoftware.com/tas/manual/decrement.htm