KERRB@Magill.UniSA.edu.au wrote: > > Leslie Everett wrote:- > > >> if :level = 0 [forward :size] stop] > >> and it crashed. > > George Mills wrote:- > > You had mismatched []'s this is what I think you want. > > >if :level = 0 [forward :size] stop > > Initially I thought Leslie had made a typo, but George shouldn't it be:- > > if :level = 0 [fd :size stop] > > if you want that invocation to stop only after you reach level 0 > Not according to the original code he was trying to port to logo which you left out. which was something like. IF SOMETHING DO SOMETHING RETURN Now if he had said something like. IF SOMETHING DO SOMETHING RETURN ENDIF I'd say yes your right. > -- Bill Kerr -- =============================================================== George Mills (mills@softronix.com) http://www.softronix.com/ The www page contains some very powerful educational software. Our single most important investment is our kids. --------------------------------------------------------------- Please post messages to the Logo forum to logo-l@gsn.org. Mail questions about the list administration to logofdn@gsn.org. To unsubscribe send unsubscribe logo-l to majordomo@gsn.org.
Global SchoolNet Foundation -
Linking Kids Around the World!
Copyright GSN - All Rights Reserved
- Comments
& Questions
Visit GSN's
Global
Schoolhouse for more exciting learning resources!
Search our Site
-
Home