Version 4.5.2
 —  Commands  —

DECR

Description

Subtract 1 from the global and local counter variables or screen position variables.

Syntax

DECR {counter|screen-position-variable}...

counter can be one of the following variables:

#CNT0 through #CNT9 (local)
+CNT0 through +CNT9 (global)

Valid numbers for the counter variables are between 0 and 32767.

screen-position-variable represents one of the following variables:

#ROW, #COL, #LENGTH (local)
+ROW, +COL, +LENGTH (global)

Examples

Procedure File Example

Findfile.ncp

Variables Returned

None

Related Commands

INCR, RESET, SET

Usage

Procedure File: Yes
Command Line: No
Key: No
API: No

Top of page