I need to create an array that will hold an uknown (at compile time) number of string pairs.

[0] = "pair1 first string", "pair1 second string"
[1] = "pair2 first string", "pair2 second string"
[2] = "pair3 first string", "pair3 second string"
[3] = "pair4 first string", "pair4 second string"

I think this is a 3-dimensional array, but I'm not sure.

The array def will be passed into a fxn by ref (with an initial value of null). The function should then fill the array to look similar to what you see above.

Can someone help me implement this. Thanks!

ps.. No, this is not a homework assignment. Its for a webservice that I am writing whereby the web page passes the null array to the webservice and receives back the data.