ElementCDN Posted June 4, 2004 Share Posted June 4, 2004 Hello, I need to define an array populate it with strings. Then use the contents or the array to populate a text box. I am not sure how to define and populate the array. Cheers, Link to comment Share on other sites More sharing options...
midiaxe Posted June 4, 2004 Share Posted June 4, 2004 Try this code: Dim $aStrings[4] Dim $i $aStrings[0] = "This" $aStrings[1] = "is an " $aStrings[2] = "array of" $aStrings[3] = "strings" For $i = 0 to UBound($aStrings) - 1 MsgBox(0, "Array of Strings", $aStrings[$i], 4) Next Link to comment Share on other sites More sharing options...
Guest Guest_ElementCDN Posted June 4, 2004 Share Posted June 4, 2004 Perfect! Thanks very much for your post. I have the script working correctly now! 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