![]() We could use Public or Dim statement to declare an array just as the way we declare a single variable. We differentiate each item in the array by using subscript, the index value of each item. However, if we have a list of items which are of similar type to deal with, we need to declare an array of variables instead of using a variable for each item.įor example, if we need to enter one hundred names, instead of declaring one hundred different variables, we need to declare only one array. When we work with a single item, we only need to use one variable. ![]() By definition, an array is a list of variables, all with the same data type and name.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |