Re: Password
matt,
ok simplest case...
....................................start pseudo-code...........................
.........
sequence pw-inp, pw
pw-inp = " "
pw = "PLEASE"
...
.. other initialization code, etc..
..
-- get user password
puts(SCREEN,"Enter password: ")
pw-inp = gets(KEYB)
puts(SCREEN,'\n')
if pw-inp <> pw -- this is case sensitive so uppercase must be entered
-- issue error message
-- take whatever action you wish (loop back to top to try again?)
end if
-- continue rest of code to be executed by successful password entry.
hth
Lucien T. Elliott
Warwick Information Technology
29 Hawthorn Avenue
Warwick, NY 10990
(914) 986 5139
|
Not Categorized, Please Help
|
|