netegg Posted March 24, 2008 Share Posted March 24, 2008 (edited) how to convert a array variant name to a simple variant name? Just like convert $a[1] to $a1 ... $a[n] to $an Edited March 24, 2008 by netegg Link to comment Share on other sites More sharing options...
Nahuel Posted March 24, 2008 Share Posted March 24, 2008 $a1=$a[1] ? Link to comment Share on other sites More sharing options...
weaponx Posted March 24, 2008 Share Posted March 24, 2008 Store all of the array elements and their values into variables (kind of like PHP Extract) For $X = 0 to Ubound($a) - 1 Assign ("a" & $X, $a[$X]) Next -or- Just assign blank values. For $X = 0 to Ubound($a) - 1 Assign ("a" & $X, "") Next Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now