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

LOGO-L> MicroWorlds: working with textboxes



Can anyone explain this behaviour of textboxes in MicroWorlds version 2:
 Put 5 textboxes on the page
Type 3 in text1
Type * in text2
Type 4 in text3
Type = in text4
leave text5 blank

1) In the command centre type:
text5, pr text1 * text3
15 will appear in text5

2) In the command centre type:
text5, pr text1 text2 text3
error message: I don't know what to do with *

3) Now try:
text5, pr  run (list text1 text2 text3)
I don't know what to do with 3

4) Try:
text5, pr  run (list text1 * text3)
15 appears in text5

Why don't  attempts 2 and 3 work??

The only way I can get it to work is by creating two new textboxes text6 and
text7 and then:
Type:
text6, pr (list text1 text2 text3)
text7, insert run text6
(and then hide text6)

The reason I'm doing it this way is that I want to be able to pick the
operator in text2, as in:
text2, ct insert pick [* + -]
and then run a program to give me a correct answer to be compared with the
user answer which goes in text5.

Is there an easier way?

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