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 / my question

Author
Message
matt rochon
21
Years of Service
User Offline
Joined: 15th Mar 2003
Location: Canada
Posted: 18th Mar 2003 13:50
is it possible to access an array from your main prog from an include file?

if not than does anyone know how to use a global array in an include???
Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 18th Mar 2003 14:47
I'm pretty sure it says it's not possible, sorry.

"Computers are useless they can only give you answers."
matt rochon
21
Years of Service
User Offline
Joined: 15th Mar 2003
Location: Canada
Posted: 18th Mar 2003 23:25
hmm anyone got an idea of how to work around this?
matt rochon
21
Years of Service
User Offline
Joined: 15th Mar 2003
Location: Canada
Posted: 19th Mar 2003 00:10
can i pass a whole array to a function?
xmen
21
Years of Service
User Offline
Joined: 27th Jan 2003
Location:
Posted: 19th Mar 2003 00:16
save the array from the include file
then load it when you need it in your main prog

Login to post a reply

Server time is: 2024-11-13 00:04:21
Your offset time is: 2024-11-13 00:04:21