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 / Array not recognized

Author
Message
Ninjateck
16
Years of Service
User Offline
Joined: 27th Feb 2008
Location:
Posted: 15th Apr 2010 03:36 Edited at: 15th Apr 2010 03:36
Im trying to create a basic function to print some text from my array


i used that code to create the array

and that to display it, the problem is, i keep getting the error that the array does not exist. can somebody tell me what im doing wrong ?
Lifebandit
14
Years of Service
User Offline
Joined: 27th Mar 2010
Location: Texas USA
Posted: 15th Apr 2010 05:20 Edited at: 15th Apr 2010 05:35
I created what you posted:

and it ran just fine.

EDIT: I'm sorry that I could not answer your question but I did point out that your array was fine lol. Could you have misspelled your function call?
Ninjateck
16
Years of Service
User Offline
Joined: 27th Feb 2008
Location:
Posted: 16th Apr 2010 02:09
ok ive gotten it working now
but it only works when the function call and the declaration are in the same source file, #included or not

Login to post a reply

Server time is: 2024-11-23 17:27:34
Your offset time is: 2024-11-23 17:27:34