VB6 multidimensional array weird statement -
VB6 multidimensional array weird statement - while reviewing old vb6 working code unusual statement. aryvalue = arypersons(8, i) where aryvalue , arypersons multidimensional array , declared as dim arypersons, aryvalue anyone having thought does? tried same in test application giving type mismatch (error 13) answer: bad understand vb code expecting info type language. @ arypersons(8, i) 2 dimension array getting stored , while fetching gives utilize 2d array info can assigned aryvalue 2d array. unusual me in 2d array @ position store kind of info 2d data. it seems arysteppersonoptions has array value: dim somearray(8, 8) string dim arysteppersonoptions, aryvalue dim long somearray(8, 8) = "hello" arysteppersonoptions = somearray = 8 aryvalue = arysteppersonoptions(8, i) msgbox aryvalue of course of study pseudo-hungarian ary prefix used seems more add together confusion otherwise. sadly far much code contains cargo-culted