HTBasic Help
×
Menu
Index

LORG Statement

 
The LORG statement specifies the relative position of the LABEL with respect to the current pen position. Its argument has a range of one through nine. The default LORG origin is one. The values are defined as follows:
 
Left Values
Middle Values
Right Values
3 - left-top
6 - middle-top
9 - right-top
2 - left-center
5 - middle-center
8 - right-center
1 - left-bottom
4 - middle-bottom
7 - right-bottom
 
If the LABEL is an odd number of characters, the center of the string is the center of the middle character. The following program demonstrates all nine LORG values and the effect it has on LABELS.
 
10 FOR I=1 TO 9
20   GINIT
30   DRAW 50,50
40   LORG I
50   LABEL "LORG ";VAL$(I)
60   WAIT 1
70 NEXT I
80 END