Please tell me ..
how can i Initialise 2 dimentional integer array in visual basic 6.0 .....
if i am giving like this .. it returns error .. at (,)
Dim intScores(,) As Integer = {{75, 90}, {9, 25}, {23, 56}, {6, 12}}
Please tell me ..
how can i Initialise 2 dimentional integer array in visual basic 6.0 .....
if i am giving like this .. it returns error .. at (,)
Dim intScores(,) As Integer = {{75, 90}, {9, 25}, {23, 56}, {6, 12}}
You can't do that in vb 6. You will have to do it like this
Dim intScores(4,2) As Integer
intScores(0,0) = 75
intScores(0,1) = 90
etc.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.