Previous Topic: &MAICONT

Next Topic: &MAIDEL


&MAICURSA

Sets up the cursor address when building a data stream to be sent to the application.

&MAICURSA [ ROW=n ] [ COL=n ]

Sets the cursor address to be present in a data stream to be sent to the PLU (application). The data stream is built up using one or more &MAIPUT statements.

Operands:

ROW=n

Indicates the cursor screen row position. If the ROW operand is not present, row 1 is assumed.

COL=n

Indicates the cursor screen column position. If the COL operand is not present, column 1 is assumed.

Examples: &MAICURSA

&MAICURSA ROW=2 COL=34

Notes:

The supplied row and column values must be within the dimensions of the current screen, otherwise an error results.

The &MAICURSA statement only has effect when a data stream built using &MAIPUT(s) is sent to the application. If no &MAICURSA statement is issued, row 1, column 1 is assumed.

It is often not necessary to set a cursor address when building a data stream. Under most circumstances, the application is not sensitive to cursor position at time of input. However, &MAICURSA is provided for those times when you wish to set a specific cursor position.

More information:

&MAIPUT