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 / Help using arrays and Functions (DBPro)

Author
Message
Dark Master
18
Years of Service
User Offline
Joined: 4th Apr 2006
Location:
Posted: 27th Jul 2006 19:56
It seems like i have tried many different ways of trying to send an array into a function but i cant quite get it to work. I know how send arrays to methods in C# but you oviously have to code it differnt in DB. I know there are other ways to go about doing this but the only way i have figured out so far has led to a lot of repeated code.
If anyone has figured out a better way i would love to hear it.

CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 27th Jul 2006 22:18
you cant pass arrays into functions in DBP

Science, Mathematics, and Physics do not lie - only people do.
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 27th Jul 2006 23:15
But arrays are global, so you can just use them without passing them.

CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 28th Jul 2006 01:45
correct, not the best programming practice to be forced into, but correct.

Science, Mathematics, and Physics do not lie - only people do.

Login to post a reply

Server time is: 2024-09-25 05:22:46
Your offset time is: 2024-09-25 05:22:46