Determines if a password is stored.
ispassword <filename> <password name>
A password identified by <password name> from the password file <filename> is determined if the password is stored in the file.
When a password identified by <password name> exists in the password file, the system variable "result" is set to 1. Otherwise, "result" is set to 0.
strdim pw 2 username = 'yutaka' ispassword 'pw.dat' username ; result: 0=false; 1=true if result = 1 then getpassword 'pw.dat' username pw pw = pw else msg = 'What is your password for ' strconcat msg username strconcat msg '?' passwordbox msg 'Enter your password' pw = inputstr pw = pw setpassword 'pw.dat' username pw endif