[Home] [Back to Message Index]

Global SchoolNet - Automated Message Archive

LOGO-L> minus, squared




KERRB@Magill.UniSA.edu.au
Sun, 05 Jan 1997 21:09:17 +0930

George Mills wrote:

>It would be much simpler to write.

>to walk :steps :stepsize
>fd :steps*:stepsize
>end

Here's a version that emulates repeat but accepts a negative input:

to repeat.mtm :no :list
run list first :list :no * last :list
end

eg. repeat.mtm -2 [fd -40]

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