Hi Jerry, Welcome to the newsgroup / list. >First: How do you delete a page in MicroWorlds? remove "page3 >I am having trouble putting in the different background pictures at >random. If I write the names of the animals in a text box I can pick a >name at random but I can't figure out how to make the program use that >information to place the actual file picture behind the turtle. to display the shapes at random, setsh textpick "text1 or, you could do the whole thing on procedure page:- to animals setsh pick [horse1 dog1 bee1] end However, once you display them randomly then you need to store the value so that you can later check whether the guess is correct:- to animal local "choice make "choice textpick "text1 setsh :choice question [what animal?] ifelse equal? answer :choice [announce[correct]][announce[badluck]] end Notes:- You would have to rename your animals from horse1 to horse, etc. Move turtle away from centre so pop up question box does not hide it local keeps the variable local (works without it but bad style) :choice extracts the particular animal value from the variable choice other primitives, refer to online help. -- 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