|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Library Reference > DBWARM > DBWIsCorrectPin |
Given a couple DBWARM userName and Pin it verifies its correctness.
Function DBWIsCorrectPin(user,Pin)
user |
the user to check the Pin correctness |
|---|---|
Pin |
the Pin to check |
1 |
if the Pin is correct |
|---|---|
0 |
otherwise |
user_name = "user"
user_pin = "12344"
if DBWIsCorrectPin(user_name,user_pin) then
dbwmsgbox "correct Pin"
else
dbwmsgbox "wrong Pin"
end if