Chong Posted April 17, 2003 Posted April 17, 2003 Why I can't I do the following and get it working? Dim intNumbRank As Integer = CInt(txtRank.Text()) Dim aryRank(intNumbRank) As Integer I want to declare the Array as global for the Class or Form so I can use the array any where on the form. But I always get an blue underline under the variable intNumbRank inside the parenthesis. Please help me correct my code. Many thanks in advance! Chong Quote
hog Posted April 17, 2003 Posted April 17, 2003 If you hold your mouse over the blue line it tells you what the problem is. It tells you that it requires a constant value within the parenthesis Quote My website
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.