Contents  Previous  Next


Menu: Edit > Math > Decrement


Default Shortcut Key: none


Macro function: Decrement()


The Decrement command can be used to decrement the numeric value at the text cursor by a supplied value.  A dialog box will appear to retrieve the value to be subtracted.  After clicking OK the arithmetic is performed and the old value is replaced by the result.


If the text cursor is situated on a character rather than a numeric value, the supplied value will be subtracted from the character at the cursor and the new character will be displayed.  If the resultant character value is out of range, an error message will be given.