; AND example

name$=Input$("Enter your name:")
pw$=Input$("Password:")

if name$="Shane" and pw$="bluedog" then
print "Access granted! Welcome!"
else
print "Your name or password was not recognized"
end if