Just one. But the loop body happens 10,000 times.
PSET sets a pixel at the designated column and row of the graphics
screen. The pixel will be white unless the COLOR
statement has been
used to change the pen color.
Here is a program that draws the point at column 59 and row 103 ten thousand times:
SCREEN 12 FOR DOT = 1 to 10000 LET X = 59 LET Y = 103 PSET( X, Y) NEXT DOT ' END
This is not a sensible program. Once a point has been drawn, drawing it over and over adds nothing. It would be nice to draw ten thousand different points.
If you were making a drawing with pencil and paper how would you draw the stars in the night sky?