Hi All,
I have just finished trying to convert my XLogo program into a CoLogo
program.
I have created a Google Docs Spreadsheet, and I imported a CSV file
into GD Spreadsheet. I think it will work... but I don't know how to
try it yet!!!
The file is on my
Docs.Google.com (Google Docs) as:
"rangtree2_cologo.lgo" -- I assume that that is the correct name for
it.
I'd really like to create a CoLogo gadget and see it working (or just
see if my CoLogo program is correct or not). Thats a bit too advanced
right at the moment. I just very happy to have created the Google docs
spreadsheet cologo program.
I think that I've made a lot of progress so far!!! *SMILE*
Below is the file as CSV exported from Google Docs Spreadsheet & saved
to my HDD on my pc (I think).
------------------- file "rangtree2_cologo_lgo.csv"
--------------------------------
main:,myrangtree2,"""100"
end
rangtree:,size
if,or,:size,<,"""5",:size,=,"""5",[,stop,]
forward,:size
left,"""30",rangtree,:size,*,(,(,(,random,"""5",),+,"""5",),/,"""10",)
right,"""60",rangtree,:size,*,(,(,(,random,"""5",),
+,"""5",),/,"""10",)
left,"""30",back,:size
end
rangtree2:,size
if,or,:size,<,"""5",:size,=,"""5",[,stop,]
forward,:size
left,random,(,"""25",),+,"""5",rangtree,:size,*,(,(,(,random,"""5",),
+,"""5",),/,"""10",)
right,random,(,"""55",),+,"""5",rangtree,:size,*,(,(,(,random,"""5",),
+,"""5",),/,"""10",)
penup
left,random,(,"""25",),+,"""5",back,:size
pendown
end
myrangtree2:,size
penup
back,:size,*,"""2"
pendown
rangtree2,:size
end
------- end of file