1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | open window 640, 512 setrgb 0, 0, 0, 0 clear window wait_for_key() clear window fill circle 0, 0, 100 fill circle 640, 0, 100 fill circle 640, 512, 100 fill circle 0, 512, 100 wait_for_key() clear window circle 0, 0, 100 circle 640, 0, 100 circle 640, 512, 100 circle 0, 512, 100 wait_for_key() clear window fill rectangle -100, -100 to 100, 100 fill rectangle -100, 412 to 100, 612 fill rectangle 540, -100 to 740, 100 fill rectangle 540, 412 to 740, 612 wait_for_key() clear window rectangle -100, -100 to 100, 100 rectangle -100, 412 to 100, 612 rectangle 540, -100 to 740, 100 rectangle 540, 412 to 740, 612 wait_for_key() clear window fill triangle -100, -100 to 100, -100 to 100, 100 fill triangle -100, 412 to 100, 412 to 100, 612 fill triangle 540, -100 to 540, 100 to 740, 100 fill triangle 540, 412 to 740, 412 to 740, 612 wait_for_key() clear window triangle -100, -100 to 100, -100 to 100, 100 triangle -100, 412 to 100, 412 to 100, 612 triangle 540, -100 to 540, 100 to 740, 100 triangle 540, 412 to 740, 412 to 740, 612 wait_for_key() clear window sub wait_for_key() setrgb 1, 255, 255, 255 text 320, 256, "Press any key...", "cc" a$ = inkey$ setrgb 1, 255, 0, 255 end sub |