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 / FUNCTION RETURN VALUES

Author
Message
Clarks
21
Years of Service
User Offline
Joined: 30th Oct 2003
Location: BALTIMORE,MARYLAND
Posted: 3rd Jan 2004 08:49
How can one create a function in DBC that can return multiple values.
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 3rd Jan 2004 08:51
you can only return one value from a function when it comes to DB.
arrays declared outside of the function are global and will return a result without having to use the return value space in the function.

Login to post a reply

Server time is: 2025-06-07 02:58:53
Your offset time is: 2025-06-07 02:58:53