<<

Contents

Search

>>

 

LPGRIDSETTING

 

 

Instruction

 

 

Syntax:

LPGRIDSETTING = <Number of Lines>,<Number of Columns>

 

<Number of Lines>

= <NUM-EXPRESSION>

<Number of Columns>

= <NUM-EXPRESSION>

 

 

Meaning:

Creates a grid on the print document.

 

This instruction only has an effect with ENABLE LPGDI.

 

A grid is specified in lines and columns for the print area. With the instruction LPGRIDCURSOR the print cursor can be set within this grid.

 

The default setting at the start of the program is 60 lines and 80 columns.

 

Parameter:

Number of Lines

Number of grid lines

Number of Columns

Number of grid columns

 

Sample:

LPGRIDSETTING = 60,100 /* Grid with 60 lines and 100 columns

LPGRIDCURSOR(2,2)

LPRINT "Hello World"

 

See also:

LPRINT

COMPUTE_LPGRIDSETTING

GET_LPGRIDCURSOR_Y

GET_LPGRIDCURSOR_X

LPCURSOR, LPGRIDCURSOR