Hila Research Centre Computer Programming - 7 Try This: n$ = "Sarah" PRINT n$ If you want a variable to represent a word, rather than a number, the variable must have "$" at the end of it. These are called string variables. Note the use of " " around the strings involved. Passwords: (note "scorpion" is the password) INPUT "Enter password", pass$ IF pass$ = "scorpion" THEN PRINT "You may enter" Problems: Spaces can be part of a password. Passwords are case sensitive. Advanced Passwords: (Enter exactly as shown, note "mouse" is the password) INPUT "Enter Your Password", word$ IF word$ = "mouse" THEN PRINT "Clearance OK" ELSE PRINT "Access denied!!!!!" END IF Hiding Passwords: (Statements after an apostrophe are called rems. These reminders are not run as part of the program, but are there to help you, and others, understand your program.) CLS ' clear screen PRINT "Enter Your Password" COLOR 0,0 ' text same colour as background (black), it is now hidden. INPUT " ", word$ COLOR 15,0 ' change text colour back to bright white, #15 IF word$ = "mouse" THEN PRINT "Clearance OK" ELSE PRINT "Access Denied!!!!!" END IF