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

LOGO-L> missing procedure for HANOI demo



;hellow George Mills
;Hello Olga Tuzova
;Here is the code of the sequence procedure;yes I put it in my library
;it simply outputs a list of numbers starting from 1 to :n.
;My problems with the HANOI code was not due to colours;since I
;tried RGB colours, then I ommited colours altogether. when I tried
;it I ommited also setcursor and the like.
;Thanks for your kind and helpful suggestions.
;Best Regards.
;Mhelhefni
;--------------------------------------------------------
TO sequence :N
MAKE "T 1
REPEAT :N - 1 [MAKE "T SE :T 1 + LAST :T]
OP :T
END
bury "sequence
;--------------------------------------------------------
---------------------------------------------------------------
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