basic BASIC
Posted: Fri Dec 01, 2006 5:32 pm
OK........so, with the help of a tutorial, I learned the VERY ELEMENTARY command to creat a circle:
CLS
SCREEN 7 ' or could be SCREEN 13
CIRCLE (150, 100), 50, 2
END
Great.....big blue circle right in the middle of the screen.....I played with the parameters for 20 minutes entertaining myself....yippee.
But, I want to write a program that causes the computer to pick a random location on the screen to draw the circle. I know I'll have to establish MinX and MinY in addition to MaxX and MaxY.........but try as I might, I can't get the syntax figured out......could I get a nudge, please??
CLS
SCREEN 7 ' or could be SCREEN 13
CIRCLE (150, 100), 50, 2
END
Great.....big blue circle right in the middle of the screen.....I played with the parameters for 20 minutes entertaining myself....yippee.
But, I want to write a program that causes the computer to pick a random location on the screen to draw the circle. I know I'll have to establish MinX and MinY in addition to MaxX and MaxY.........but try as I might, I can't get the syntax figured out......could I get a nudge, please??