zoncou

zoncou is a system variable that contains the name of the current field during a control called when an input in a mask is performed.

This function is only usable in Classic pages related code and is deprecated for code running in version 7 mode.

Syntax

 [S]zoncouzoncou

Examples

# Control on a grid (this label can be called on any field of the grid# If there is an error, return to the previous line on the same field.$CONTROLGosub CTRL_CONSISTENCYIf ERROR_FOUNDzonsui = zoncou+"(" + num$(max(nolign-2,0)) + ")"EndifEnd

Description

zoncou is an alphanumeric variable that contains the name of the current field inputted. It is available on any control, init or help action.

Comments

zoncou does not contain the current index on arrays. indice (0-based) or nolign (1-based) can give this information.

zonsui = zoncou

See also

Affzo, Diszo, Effzo, Envzo, Grizo, zc, zonsui, zonsor.