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 / Endfunction error when using certain include files

Author
Message
Neil Young
21
Years of Service
User Offline
Joined: 6th Jan 2004
Location:
Posted: 6th Jan 2004 10:36
I have 5 include files, when I comment all but one of them out I don't get the "endfunction use error". So, I check out this one that works to see if I can find any difference .... NOTHING. I declare the functions correctly but for some reason they cause errors, and all the code works because I ran the program before I made them external files Anyone have similar experience?
ReD_eYe
22
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 6th Jan 2004 19:44
would you be able to show your code? there might be something you've missed...


GO TO THE ETERNAL DESTINY FORUMS!!! http://forums.eternaldestinyonline.com
Do it now!!!
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 7th Jan 2004 04:57
Indeed.

It could be a number of issues. You may have spelt something wrong, or maybe you are tryign to return too many values, etc, etc.

Some code would help a great deal, thanks.

Hope I Helped...


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
Neil Young
21
Years of Service
User Offline
Joined: 6th Jan 2004
Location:
Posted: 8th Jan 2004 04:21
Thank you for the reading the post and attempting to help, but I fixed it. It wanted me to return a value for some reason, I didn't need to, but when I did it worked.
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 8th Jan 2004 04:51
Ah, ok... well, good on ya!


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy

Login to post a reply

Server time is: 2025-05-22 06:13:19
Your offset time is: 2025-05-22 06:13:19