Category : BASIC Source Code
Archive   : LB09D.ZIP
Filename : TURTLE2.BAS

 
Output of file : TURTLE2.BAS contained in archive : LB09D.ZIP

' This is a turtle graphics demo

dim color$(3)

color$(0) = "red"
color$(1) = "green"
color$(2) = "yellow"
color$(3) = "blue"

print "Opening Graphics Window"
open "Turtle Graphics Spiral" for graphics_fs as #turtleOut

print "Writing spiral data..."

print #turtleOut, "home"
print #turtleOut, "down"
print #turtleOut, "north"
print #turtleOut, "fill black"
print #turtleOut, "size 8"

for x = 1 to 200
print #turtleOut, "color "; color$(x - int(x/4) * 4)
print #turtleOut, "turn 122"
print #turtleOut, "go "; x*2
next x

print #turtleOut, "flush"

input r$

print "Closing Window" : print
close #turtleOut

print "Done."




  3 Responses to “Category : BASIC Source Code
Archive   : LB09D.ZIP
Filename : TURTLE2.BAS

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/