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 / Passing arrays as parameters

Author
Message
iac249
21
Years of Service
User Offline
Joined: 26th Mar 2003
Location: USA
Posted: 21st Apr 2003 19:53
Is is possible to pass an array as a parameter to a function? Or return an array?
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 21st Apr 2003 19:58
no unfortunately but in DBP a typed array can.


arrays are global if declared at the top of your program
they pass through the result as if it was mainline code.

arrays are local to the function if made inside the function

u can hand a variable to an array once inside if u have to have an input via the function.

Login to post a reply

Server time is: 2024-11-24 10:29:29
Your offset time is: 2024-11-24 10:29:29