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 Professional Discussion / You have hit a function declaration mid-program

Author
Message
Ankhranum
16
Years of Service
User Offline
Joined: 6th Jul 2010
Location:
Posted: 16th Dec 2010 10:25
Everytime when I use a function it shows after the program ends 'You have hit a function declaration mid-program'-popup.
somebody does know why?

Greetz
BatVink
Moderator
23
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 16th Dec 2010 10:34
Before your functions in the source code, you must include the line:

END

Ankhranum
16
Years of Service
User Offline
Joined: 6th Jul 2010
Location:
Posted: 16th Dec 2010 10:51
Thanks, I did find it via the search box also, but this was to be sure.

It worked for me =D

Login to post a reply

Server time is: 2026-07-21 07:03:36
Your offset time is: 2026-07-21 07:03:36