Bill Kerr wrote:- > >ps. how should I handle the "errors" -- > ie. if the young kid types burd instead of bird (not immediately obvious) Gary Stager replied: :Use, the MicroWorlds command CAREFULLY to trap errors. On closer examination my original program is deficient in a number of respects. It needs some work but I don't see how CAREFULLY will fix it either. ie. I have a list of IF statements if word = bird [fly] if word = car [drive] etc. The problems with this are:- 1. no error trapping, eg. for spelling mistakes 2. if a picture of a bird appears and the student types car then the bird will drive away and they get a congrats message ! I don't think CAREFULLY fits in with a series of if statements. If the student types the wrong word then an if statement simply ignores it, it doesn't regard it as an error. One possible solution is something like:- if not member? [bird car etc.][announce [try again]] (that might fix problem no. 1 but not problem no. 2 above). I'm still thinking about it. 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