Copyright Notice: Can be reproduced at will.Hyperlink formMark as followsArticleOriginal Source and author information andThis statement
Author:Xixi
Source: http://blog.csdn.net/slowgrace/archive/2009/04/23/4102056.aspx
It is always dizzy when all kinds of indexes are 0-based or 1-based. Every time you have to spend a lot of time to check them, simply make a summary here. When you learn new things, you will be able to check the old ones here :)
0-based
(1) array: the default value of the array is 0-based. The Return Value of the ubound function is also 0-based.
(2) tabindex: 0-based.
(3) ComboBox and ListBox: The index of items in the drop-down list is 0-based. When they have multiple columns, the index of columns is also based on 0.
(4)Mshflexgrid:Its Col and row attributes are counted from 0.
(5) forms and controls collections. In Visual Basic, most of the old sets are based on 0.
1-based
(2) tabstrip: The index of its tab is 1-based.
() Index of collection