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 / Need help gosubbing!

Author
Message
Jiffy
20
Years of Service
User Offline
Joined: 5th Mar 2004
Location: Hiding in the bushes in your backyard
Posted: 25th Apr 2004 06:22
Hi. I'm creating a quiz and need to use gosub ALOT. I've got the code working, but for some reason it shows both values (y and n) when you just type one. Can u give me advice? P.S. It shows the correct thing twice and the wrong one after. If you could help me it would be much appreciated!!!!!! P.S.S I've attached my code and will put in a code snippet so if there is anything wrong with that part of the code (its only the single question) it would be great if you could tell me whats wrong????



Last night I was looking up at the stars and said "Where the hell is my roof?!"
NathanF
20
Years of Service
User Offline
Joined: 24th Mar 2004
Location:
Posted: 25th Apr 2004 06:33
it was in the wrong order, it seems that if the code gets to a subroutine, it does the code instead of jumping over it. Its best to leave the subs at the end.


.........what's the point of reading this?
Jiffy
20
Years of Service
User Offline
Joined: 5th Mar 2004
Location: Hiding in the bushes in your backyard
Posted: 25th Apr 2004 07:35
Thanks SO much!!!!!!!!!!!!

Last night I was looking up at the stars and said "Where the hell is my roof?!"

Login to post a reply

Server time is: 2024-11-26 14:25:34
Your offset time is: 2024-11-26 14:25:34