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: Henry Wilson <henryhwilson@xxxxxxxxx>
Date: Sat, 5 Apr 2008 13:09:48 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;

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

  • 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