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

Re: LOGO-L> Buttons



>
>I tried the print pick and I am still having problems.
>These are my procedures:
>
>?make  "money words [cat dog fat man mad sun duck]

First of all, Logo names (procedures, objects, variables) must be one 
word without spaces.

Therefore you need make "moneywords pick [cat dog fat man mad sun duck]

>
>to money word
>print pick
>end

Pick is a reporter that requires an input of what to pick from. You 
procedure needs to read:

to moneyword
print pick :moneywords
end

or better yet

to moneyword
print pick [cat dog fat man mad sun duck]
end

No global variable (make) is necessary here.

>My button is "money word".
>I would like the button to print a random word from the list and have it pop
>up in my text box.
---------------------------------------------------------------
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