Richard's solution deals with strings, and would return true if the word
you were checking for was "yes", and the user entry data was "I went home
yesterday".
If you want to make sure that only full words returned a valid match, just
change the script to:
on mouseUp
put fld "Field1" into TWORD
put fld "Field2" into TSTRING
if TWORD is among the words of TSTRING then answer "Well Done!"
end mouseUp
Craig Newman
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution