Author |
Message |
beedub
|
Posted: Fri May 23, 2003 8:27 am Post subject: password |
|
|
hey all....
i was wondering if there was any way when a user enters in a code it just puts the char "*" but it still has the value of the letter inputted.
ty |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Solo
|
Posted: Fri May 23, 2003 9:33 am Post subject: Hidden Password |
|
|
code: |
var key:string(1)
var password:string
loop
getch (key)
exit when ord (key) = 10
put "*" ..
password += key
end loop |
This should do what you want. |
|
|
|
|
|
Prince
|
Posted: Fri May 23, 2003 10:15 am Post subject: (No subject) |
|
|
haha, that doesnt work solo... i tested and it crashed hardcore |
|
|
|
|
|
Tony
|
|
|
|
|
Solo
|
Posted: Fri May 23, 2003 12:58 pm Post subject: wow |
|
|
What i find really amusing is, that instead of fixing it, or offering advice, you decide to laugh, and make a dumbass comment.. it crashed "hardcore"?
anyway, just replace
var password:string
with
var password:string:=""
....
anyway, what a wonderful person in the community prince is |
|
|
|
|
|
Tony
|
Posted: Fri May 23, 2003 4:31 pm Post subject: (No subject) |
|
|
Quote: what a wonderful person in the community prince is
and his avatar backs up your point too |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
|
beedub
|
Posted: Fri May 23, 2003 4:42 pm Post subject: (No subject) |
|
|
ty thats exacly what i want |
|
|
|
|
|
Prince
|
Posted: Fri May 23, 2003 7:21 pm Post subject: (No subject) |
|
|
just so its known i truly resent thos comments made by solo and tony... mayb things would b better if i just left |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Tony
|
Posted: Fri May 23, 2003 7:24 pm Post subject: (No subject) |
|
|
please dont leave You're the owner of the world's coolest avatar (after octopi's) |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
|
Prince
|
Posted: Fri May 23, 2003 7:26 pm Post subject: (No subject) |
|
|
do i sense sarcasm in that last sentence |
|
|
|
|
|
Martin
|
Posted: Fri May 23, 2003 9:43 pm Post subject: (No subject) |
|
|
Let's use this post to start a friendly flame war between the two of you and we can watch (I won't let Asok lock the topic). |
|
|
|
|
|
Martin
|
Posted: Fri May 23, 2003 9:44 pm Post subject: (No subject) |
|
|
Err, forget the friendly part. And solo, forget the flaming and start programming or I'll ban you. |
|
|
|
|
|
Blade
|
Posted: Fri May 23, 2003 10:26 pm Post subject: (No subject) |
|
|
heh. worlds coolest avatar. whatever |
|
|
|
|
|
Prince
|
Posted: Fri May 23, 2003 11:07 pm Post subject: (No subject) |
|
|
dah well, u dont like my av its too bad for u... deal wit it... it aint like urs is immensely great blade |
|
|
|
|
|
Martin
|
Posted: Fri May 23, 2003 11:13 pm Post subject: (No subject) |
|
|
My avatar beats them both. |
|
|
|
|
|
|