Frank Caggiano wrote: > > Your right. The original request spoke about a list of procedure names > which would of course be unique. I should have noted that in my reply. > of course after I wrote that I realized that was wrong. No reason that a list of procedures couldn't have duplicates in it. George Mills wrote: >> make "item (random (count :aList) - 1) + 1 I thnik you ned to take alook at this statement George. I don;t believe you want that ' - 1'. Run tour code like: make "foo [ 1 2 3 4 5 6 7 8 9] repeat count :foo [make "foo TrueRemRandomFrom :foo show :foo] You'll see that the last element from the list is never selected. If you remove the ' - 1' it seems to work ok. regards -- Frank Caggiano caggiano@atlantic.net http://www.atlantic.net/~caggiano --------------------------------------------------------------- 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