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 / What is wrong this code?!? AHHHHHHHHHHHH!!!

Author
Message
Cretinous
19
Years of Service
User Offline
Joined: 10th Mar 2005
Location:
Posted: 20th May 2005 04:53
I have a code that should work find but when I compile it the screen goes black (as if it is about to run) and then closes.


HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 20th May 2005 05:37
if you use F7 to follow your program you will find that bounces out at the function command, because this should be at the end of the program or atlease after the loop command. so that it looks like this.



I'm not getting you down am I, Ho Look! another fancy Door?
Cretinous
19
Years of Service
User Offline
Joined: 10th Mar 2005
Location:
Posted: 20th May 2005 05:53
Thanks alot! I tried F7 but that didn't work. But the function was in the wrong place I'm such a noob

HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 20th May 2005 05:56
happy to help, also helps to have all things like that after the loop bit and you call them with gosub, makes for easrier debuging.

cheers have fun.

I'm not getting you down am I, Ho Look! another fancy Door?
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 20th May 2005 06:06
This part of your code:
will never be executed because the program will remain inside the Do...Loop. Although it doesn't matter because it is largely irrelevant.


Coder formerly known as Scraggle

Login to post a reply

Server time is: 2024-09-23 19:31:25
Your offset time is: 2024-09-23 19:31:25