I don't think what you are doing is quite right...but don't quote me. Here is how you would execute an array and assign a value.
Dim myArray(3) as string() 'Declares an array with 4 elements
dim myString as string() = "Hello world" 'Declare a string that says hello world
myArray(2) = myString 'Assigns the third element to myString
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.