forked from Galleondragon/qb64
-
Notifications
You must be signed in to change notification settings - Fork 24
Statement
Cory Smith edited this page Sep 1, 2022
·
4 revisions
A statement is, as far as BASIC is concerned, a keyword that can be executed in run-time which doesn't return any value. It can contain several arguments or no arguments at all.
The arguments in a statement are usually not enclosed with paranteses. When a graphical x-coordinate and y-coordinate is to be specified they are enclosed with paranteses though.
Demonstrates how x- and y-coordinates are enclosed with paranteses (in graphics).
SCREEN 13
x = 160
y = 100
PSET (x, y), 15
Demonstrates how row- and column-coordinates are not enclosed with paranteses (in text).
row = 12
column = 40
LOCATE row, column
PRINT "X"