[Home] [Back to Message Index]

Global SchoolNet - Automated Message Archive

Re: LOGO-L> Microworlds question




Gary S. Stager (gstager@pepperdine.edu)
Tue, 14 Jan 97 10:22:17 -0000

>Is there a Microworlds equivalent to "Does not equal?"
You will have to write a reporter such as:

to notequal? :thing1 :thing2
output not :thing1 = :thing2
end

Then you can say in a procedure:

if notequal? :myanswer :theanswer [dosomething]

if notequal? 5 :result [dosomething]

if notequal? 3 answer * 2 [dosomething]
---------------------------------------------------------------
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.