GLBasic User Manual

Main sections

PRINT

PRINT text#$, x#, y# [,kernel%=FALSE]



Prints text (words or numbers) on the back buffer (hidden surface), with either fixed (kernel% = FALSE) or proportional (kernel% = TRUE) printing. Fixed printing is where each character occupies the same character width, whereas in proportional printing, the width of each character varies according to the letter

Sample:
 
PRINT "Hello World", 100, 100
SHOWSCREEN
MOUSEWAIT


Output:
Hello World

See also...