Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / my simple password program code doesnt work help

Author
Message
aks74u
20
Years of Service
User Offline
Joined: 2nd Jun 2004
Location: arizona
Posted: 13th Jun 2004 01:53
ya ive been trying to figure out how to do a simple program that asks for a password and when you give it to the computer it says enter but it says my command doesnt work.
any help would be much appreciated!
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 13th Jun 2004 02:09 Edited at: 13th Jun 2004 02:12
it works

real$="please"
input "please what is the password please?",password$
if password$=real$
print "You can Enter"
else
print "You cannot Enter"
endif
wait key


* DBP_NETLIB_v1.2 - NOW WITH VARIABLE WATCHER! * Click Logo
aks74u
20
Years of Service
User Offline
Joined: 2nd Jun 2004
Location: arizona
Posted: 13th Jun 2004 03:00
hey thx dude!!!i am really excited about programming and ur help is great!
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 13th Jun 2004 04:29
good luck!


* DBP_NETLIB_v1.2 - NOW WITH VARIABLE WATCHER! * Click Logo

Login to post a reply

Server time is: 2024-11-26 20:31:58
Your offset time is: 2024-11-26 20:31:58