|
|
|
|
- Reason
- Correction
- Example
- Handling a one-dimensional array
Error 117: The array has X dimensions and you access it with Y dimensions
You are handling an array by using more dimensions than the number that was defined. Modify the declaration of your array or the syntax used to handle an array element. Handling a one-dimensional array Code triggering the error // Declare the array MinSales is array of 12 int i is int = 1 // Assig an element of MinSales MinSales[15,2]=15
Possible correction Modifying the declaration of the array. // Declare the array MinSales is array of 12 by 15 int i is int = 1 // Assig an element of MinSales MinSales[15,2]=15
Possible correction Modifying the assignment. // Declare the array MinSales is array of 12 int i is int = 1 // Assig an element of MinSales MinSales[2]=15
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|