HTBasic Help
×
Menu
Index

LABEL

Prints text on graphic devices.
 
 LABEL [items [{,|;}]]
 LABEL USING image [;items]
 
Usage:
LABEL 6,Foobar$
LABEL Array(*)
LABEL USING 160;X,Y,Z
LABEL USING " ""$"",5*.DD";Money
 
Example: LABEL.BAS
 
Description:
Labels are drawn with the pen beginning at the current pen position, in the current PEN color and LINE TYPE. Labels are clipped at the clip boundary. The starting point for labels is affected by PIVOT, CSIZE, GFONT IS, LORG, and LDIR affect the output of labels, however WINDOW and SHOW do not.
 

Control Characters

The following control characters have a special meaning when used in LABEL statements:
 
Character
Meaning
CTRL-H, CHR$(8)
moves pen left one character cell.
CTRL-J, CHR$(10)
moves pen down one character cell.
CTRL-M, CHR$(13)
moves pen left length of completed label.
 
In other respects, the format of output from the LABEL statement, both with and without USING, is similar to the PRINT command. See PRINT for an explanation of arrays, numeric and string fields and numeric and string formats.
 
See Also: