Home
Project Folders
Teacher Resources
Student Resources
How Do I?
Literacy
MWForum
Site Map
Search
Our Team

MWForum Message [Date Index] [Threads] [Authors] [Attachments] [Subscribe]

[Thread Prev] [Thread Next]

To: mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Subject: Re:
From: LCSI <alain@xxxxxxx>
Date: Sat, 5 Apr 2008 14:09:16 -0400

Well, in theory, you could address the visible text box to type the stars, and the other text box to type the real characters. And it's a little simpler. Let's say that your text boxes are called hiddentextbox and visibletextbox. Pay attention to the commas.

to password
make "input readchar
if 13 = ascii :input [visibletextbox, ct stop]
visibletextbox, insert char 42
hiddentextbox, insert :input
password
end


AT


Le 08-04-05 à 13:09, Henry Wilson a écrit :
It was very cool, but I could not get it so the thing you type in is saved, in, lets say, another hidden text box. That way it would appear with the ***** and a different text box, hidden, would show , lets say, p25ab.

thanks
On Apr 5, 2008, at 11:58 AM, LCSI wrote:

Hi,
Using the primitive "question", I'm afraid that's impossible.
Using a text box, you could:

to password
make "input readchar
if 13 = ascii :input [op " ]
insert char 42
op word :input password
end

That's tricky, it only works in a certain context, and maybe I can figure out a simpler solution. It's called a recursive operation (as opposed to a recursive command) because the recursive line (the last line) uses "output".

This works in the following context:

Create a text box on the page
Type
SHOW PASSWORD
in the command center
Type a password. STARS will appear in the text box, and when you press RETURN (char 13), the procedure will output the entire password (which will be caught by SHOW).

That's probably not a good answer for what you're doing, but I thought you might enjoy looking up all these primitives in the Help system, and perhaps google some of these concepts (recursive operation).

AT

Le 08-04-05 à 10:50, Henry Wilson a écrit :
Is there any way to make a question so when you type it shows those dots instead of the thing you are typing? This would be very useful for my login system.













  • Previous by thread: Re:
  • Next by thread: RCX program quesiton

  • To save an attachment to your computer, PC users should right-click (Mac users, click and hold the mouse button) on the link and then choose 'save target as' from the pop-up menu. A window will then pop up in which you can choose a location for the file.


    © copyright 2001 - 2008