You can have up to 60 dimensions in an array. Multiple dimensions are declared by separating the numbers in the parentheses with commas. Here we have a two-dimensional array consisting of 7 rows and 7 columns:
dim table(7, 6)
dim table(7, 6)