411 REFERENCE · Wikibooks
GLBasic Programming/BASIC/Your First Program
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
To make you're first program, make a new file and type this:
CLEARSCREEN
PRINT "Hello, world!", 100, 100
SHOWSCREEN
KEYWAIT
END
Explanation:
CLEARSCREEN makes the screen clear the screen
PRINT displays everything between quotations and places it at x100, y100
SHOWSCREEN shows everything typed above on the screen
KEYWAIT makes the program wait until a key is pressed (You also can use MOUSEWAIT)
END stops the program there
GLBasic Programming BASIC/PRINT, CLEARSCREEN, and END