Such as:
Code: Select all
GRAPHICS
GRAPHICS CLEAR 0.34,0.34,0.34
x = 25
y = 25
w = 10
h = 10
DEF drawRect
FOR COUNT = 1 TO 5
DRAW RECT x * COUNT, y SIZE w, h
NEXT COUNT
END DEF
CALL drawRect
Code: Select all
GRAPHICS
GRAPHICS CLEAR 0.34,0.34,0.34
x = 25
y = 25
w = 10
h = 10
DEF drawRect
FOR COUNT = 1 TO 5
DRAW RECT x * COUNT, y SIZE w, h
NEXT COUNT
END DEF
CALL drawRect
Code: Select all
GRAPHICS
GRAPHICS CLEAR 0.34,0.34,0.34
x = 25
y = 25
w = 10
h = 10
DEF drawRect
FOR COUNT = 1 TO 5
DRAW RECT .x * COUNT, .y SIZE .w, .h
NEXT COUNT
END DEF
CALL drawRect