This preview shows page 1. Sign up to view the full content.
Unformatted text preview: ' Get next password char IF temp <> userEntry(index) THEN EXIT ' Compare to user input, NEXT ' exit if not equal. IF index <> 5 THEN ' If exit, then index not equal DEBUG CR,"Password not correct.", CR ' to 5 and pass is not correct. ENDIF LOOP UNTIL index = 5 ' Only get out of loop when ' index = 5. DEBUG CR, "Password is correct;", CR, ' Program can move on when "program can continue. .." ' password is correct. END...
View Full Document
- Fall '10