; Closes program after player presses ESC.
Graphics 640, 480
Text 0, 0, "Why did you open this program?"
;y is the variable that judges the location of the text
y = 12
Text 0, y, "Press Esc to exit."
;wait a sec
;move next line of text down
y = y + 12
;repeat until user hits esc
Text 0, y, "Program is ending."
In the above program, what causes the text to move down, I don't see it. I understand that the "12" is 12 pixels, but what's making it go down, I can't seem to find it? Thank.
0 · ·