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 / talking back

Author
Message
Plastico
20
Years of Service
User Offline
Joined: 3rd May 2004
Location:
Posted: 27th Jul 2004 11:46
here is my code to my fairly simple program that is supposed to talk to you, when you say something to it. but for some reason its just not working. I keep getting errors that my arrays dont exist at line 52, and even if I used a variable the screen stays blank after you input your statement.

JokerZ
AGK Silver Backer
20
Years of Service
User Offline
Joined: 2nd Jul 2004
Location: Perth, Western Australia
Posted: 27th Jul 2004 13:23
You have
Quote: "
wait key
cls
goto begin
"


For a start remove that goto begin

you are skipping over the section where you define your arrays.
Thats why you'd get the unknown array message.

I haven't looked at any of the other logic in the program..

Everything happens for a reason
Saikoro
20
Years of Service
User Offline
Joined: 6th Oct 2003
Location: California
Posted: 27th Jul 2004 19:45
Get rid of all your GOTO's while you're at it. Neither of them help at all

Need help? Ask me via email, msn, aim, or forums and Ill see what I can do.

Plastico
20
Years of Service
User Offline
Joined: 3rd May 2004
Location:
Posted: 28th Jul 2004 04:46
ok col thanks alot you guys

Login to post a reply

Server time is: 2024-09-22 18:23:25
Your offset time is: 2024-09-22 18:23:25