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.

DarkBASIC Discussion / Password check

Author
Message
Yodaman Jer
User Banned
Posted: 24th Jan 2009 23:11 Edited at: 24th Jan 2009 23:21
I wrote this program in about 10 minutes, but I've encountered a few issues with it. What it does is it takes your name and a second person's name and then once it has that info it's supposed to go to the part where it checks your password. But when it reaches that area of the code it shrinks down, then opens up again, but nothing happens. I can only then end the program. Here's my full code:



Here's the part that checks the password...I'm pretty sure this is where the problem lies...



Any ideas as to why it's doing this?


EDIT: Never mind, the problem disappeared. Still don't know why it did that...but the program works perfectly now.

Wait....what?
Dragon Knight
19
Years of Service
User Offline
Joined: 10th Jan 2007
Location: Newcastle
Posted: 25th Jan 2009 21:11 Edited at: 25th Jan 2009 21:12
there is no loop at
that will just end the program weather you click or not.

Try using proper loops

Do Loops, and while loops. Depending on what you want.

A do loop can be used for main loops. A while loop can be used whilst a condition is met or not met depending on how you write it.

Hope that answers your question, I'm a bit confused on why you use repeat those sorta commands confuse me heh.

-Edit- AGH you edited yours before i could answer CURSE YOU hehe

----------------------------------
http://www.hybridwolves.co.uk
----------------------------------

Login to post a reply

Server time is: 2026-07-06 03:58:12
Your offset time is: 2026-07-06 03:58:12