Arrays are handy if say, you have a grid and store information in each slot of the grid. Like say minesweeper. you would have a 2d arrays.
That would set up an 11 x 11 grid, because 0 counts as a slot. You would then store say a mine or a blank as data in each slot. When the user clicks on a grid space, you look this up in the array.
Types are very powerful though once you get into them.
Dim grid(10,10)
That would set up an 11 x 11 grid, because 0 counts as a slot. You would then store say a mine or a blank as data in each slot. When the user clicks on a grid space, you look this up in the array.
Types are very powerful though once you get into them.