View Single Post
Old 10-10-2012, 12:40 AM   PM User | #1
ryan1234
New to the CF scene

 
Join Date: Oct 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
ryan1234 is an unknown quantity at this point
Array in function

Basically I have a global array which I use in a function and in this function values are assigned to the array depending on what the user enters.

I then need to use the array again with the assigned values, in another function. However I don't believe the assigned values will be in the array because of variable scope.

Is this correct, and if so how do I keep the values within the array after the function ends?

Thanks.
ryan1234 is offline   Reply With Quote