home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!sdd.hp.com!swrinde!emory!emory!not-for-mail
- From: dave.snyder@snide.com (Dave Snyder)
- Newsgroups: comp.databases.informix
- Subject: Re: Entering "invisible" data in a form
- Date: 19 Dec 1992 10:58:07 -0500
- Organization: Mailing List Gateway
- Lines: 38
- Sender: walt@mathcs.emory.edu
- Distribution: world
- Message-ID: <1gvgqfINNpa2@emory.mathcs.emory.edu>
- Reply-To: dave.snyder@snide.com (Dave Snyder)
- NNTP-Posting-Host: emory.mathcs.emory.edu
- X-Informix-List-ID: <list.1727>
-
- Quoting Cecilia Jaeger...
- }
- } I couldn't think of a better way to phase this. I have a form that
- } is basically an opening screen that asks for Employee Id and password.
- }
- } In 4gl 4.0 how do I make it so the user DOESN'T see what they type as the enter
- } their password. I like to be able to do it in the form.
- }
- } I try setting color attribute = invisible. I think I am may be confused as
- } to what that attribute does. What does invisible mean? It is available
- } attribute for display and prompt.
- }
- I sat on this one for a day now... Everyone seems to be dwelling on INVISIBLE
- and terminal attributes. Technotes "Spring 1990" provided this little gem:
-
- Here --------- Snip Here --------- Snip Here --------- Snip Here --------- Snip
- MAIN
- DEFINE c CHAR(1) # Get character
- DEFINE psw CHAR(8) # Store the password
- DEFINE i SMALLINT # Counter
-
- OPTIONS PROMPT LINE 22
- FOR i = 1 TO 8
- PROMPT "Enter password: " FOR CHAR c
- IF (c IS NULL) THEN # Check for space or return
- EXIT FOR
- ELSE
- LET psw = psw CLIPPED, c
- END IF
- END FOR
- END MAIN
- Here --------- Snip Here --------- Snip Here --------- Snip Here --------- Snip
-
- DAS
- --
- David Snyder @ Snide Computer Services - Folcroft, PA Current Release
- is db4glgen-3.9
- UUCP: ..!uunet!das13!dave INTERNET: dave.snyder@snide.com
-