[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LOGO-L> Re: MswLogo Syntax Question - "I don't know how to return"




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

-- Bill Kerr



---------------------------------------------------------------
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