Replacing a number with an asterisk.
Posted: Mon Feb 25, 2008 9:55 pm
I am authoring a program for my students and want to have them stop, show me their work, and I type in a code (0051) before they can proceed on.
Here is what I have:
on mouseUp
ask "Now that you have your stamp, have your teacher type in the code to continue."
put it into rightcode
if rightcode is "0051" then go next
if rightcode is not "0051" then answer "No - you cannot proceed on until you type in the correct code!"
end mouseUp
The script is easy but I don't want the code appearing on screen - instead I want to replace each number with an asterisk so the students cannot see what I am typing.
I've searched the forum and cannot find anything that will help me do this. Anyone have any suggestions?
Thanks,
Doug Gilliland
Here is what I have:
on mouseUp
ask "Now that you have your stamp, have your teacher type in the code to continue."
put it into rightcode
if rightcode is "0051" then go next
if rightcode is not "0051" then answer "No - you cannot proceed on until you type in the correct code!"
end mouseUp
The script is easy but I don't want the code appearing on screen - instead I want to replace each number with an asterisk so the students cannot see what I am typing.
I've searched the forum and cannot find anything that will help me do this. Anyone have any suggestions?
Thanks,
Doug Gilliland