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 / Arrays into Functions

Author
Message
Silveraxe
21
Years of Service
User Offline
Joined: 15th Jan 2003
Location:
Posted: 18th Aug 2003 15:55
I have included a dba-file which contains a function which I need to send an array to.....in the parameter..thing...

How???
Mnemonix
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: Skaro
Posted: 18th Aug 2003 15:57
all arrays in a program are global, which means they dont have to be passed as parameters. They apply inside the functions and outside

"We are getting aggravated"
"Yes, we are"
Silveraxe
21
Years of Service
User Offline
Joined: 15th Jan 2003
Location:
Posted: 18th Aug 2003 16:24
OK
Even if i dont have DBPro
and
Even if the function is in another file(#included)
???

Mnemonix
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: Skaro
Posted: 18th Aug 2003 16:30
even if both of the above are true

"We are getting aggravated"
"Yes, we are"
TDK
Retired Moderator
21
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 18th Aug 2003 22:48
Quote: "all arrays in a program are global"


...unless declared inside a function when they are local to that function, (in DBC anyway).

TDK

Login to post a reply

Server time is: 2024-09-20 19:47:36
Your offset time is: 2024-09-20 19:47:36