Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我希望数组的每个元素都是一个动态数组,以后可以使用 ReDim 单独调整其大小。我不想使用 ArrayList 或使用二维数组。这可能吗,怎么做?
Redim MasterArray(10) For x = 1 To 10 Redim SubArray(10) MasterArray(x) = SubArray Next MasterArray(1)(2) = 5 MasterArray(2)(2) = 6 MsgBox MasterArray(1)(2) ' shows 5 MsgBox MasterArray(2)(2) ' shows 6