| View previous topic :: View next topic |
| Author |
Message |
Lancer LXF regular
Joined: Thu Apr 07, 2005 12:59 pm Posts: 232
|
Posted: Mon May 30, 2005 8:10 pm Post subject: comments in LOGO |
|
|
...specifically, the turtle language LOGO: Berkeley Logo 5.4
I'm teaching some kids to program in this. They are making programs to draw houses etc and some of their programs are gettign rather long, about to lose track of what lines do what...
...so comments are very much needed but how? I didn't think this would be hard to figure out but I have tried using REM, #, !, ', // and a few others...most just return error messaages of "I don't know how to..." |
|
| Back to top |
|
 |
TonyLB LXF regular
Joined: Tue Apr 12, 2005 8:08 pm Posts: 111 Location: Wirral, UK
|
|
| Back to top |
|
 |
Lancer LXF regular
Joined: Thu Apr 07, 2005 12:59 pm Posts: 232
|
Posted: Tue May 31, 2005 4:40 am Post subject: RE: comments in LOGO |
|
|
I already did a quick google. Always do before asking here. Your page says to use hash character # for comments like this.
# This should be a comment but it does not work.
Unfortunately, Berkeley Logo must use some other syntax. This morning a search including "Berkeley" gave me a page which said to use an apostrophie. But unfortunately...
' This does not work either.
Howevre, in class we got online and found another page which said to use a semicolon...
; Whad'y'know - it works!
Never knew a language like this would have so many variances depending on the version. |
|
| Back to top |
|
 |
| View previous topic :: View next topic |
|