GLBasic User Manual

Main sections

INPUT

INPUT in#$, x#, y#



Waits with a blinking carret for a user input at location x#, y#. The background used for the input is the current back-buffer. If you need a different background to make your letters clear (e.g. a black box behnid the letters), remember to draw this background first.

Sample:
 
PRINT "Name:", 100, 100
INPUT name$, 100, 150
BLACKSCREEN
PRINT "Name: " + name$, 100, 100
SHOWSCREEN
MOUSEWAIT

See also...