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 / Tree Party - DBP 7.4_beta7c

Author
Message
trogdor
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: Portsmouth, VA, USA
Posted: 25th Jun 2009 22:26
When compiling under 7.4c beta
I get "Cannot use RETURN command inside a function at line ..."

When I open the FullSourceDump.dba and look at ErrorReport.txt, I find that all the instances of this are in the treeParty include dba and I dont know how to fix it.

Last night I lay in bed looking up at the stars in the sky and I thought to myself, where the heck is the ceiling.

Attachments

Login to view attachments
John Y
Synergy Editor Developer
21
Years of Service
User Offline
Joined: 4th Sep 2002
Location: UK
Posted: 25th Jun 2009 22:41 Edited at: 25th Jun 2009 22:42
I think there is a command called ExitFunction that should be used instead of return.

Synergy Editor - Available for free HERE!
trogdor
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: Portsmouth, VA, USA
Posted: 25th Jun 2009 23:15
Thanks that fixed it !!!

I need to share this with Swamp donkey to update the treeParty include file for the next release.

Thanks again John.

Last night I lay in bed looking up at the stars in the sky and I thought to myself, where the heck is the ceiling.

Login to post a reply

Server time is: 2024-05-11 10:20:44
Your offset time is: 2024-05-11 10:20:44