VMS Help CC, Messages, SUBSCRBOUNDS1 *Conan The Librarian (sorry for the slow response - running on an old VAX) |
Message <Context> an array type declared with one element is being accessed beyond the end of the array. Description An array declared with one element is being accessed beyond the end of the array. The array access can cause unpredictable behavior. Note that in C, an array is declared using the number of elements, but the first element has subscript 0. It is a common coding error to attempt to access the last element of an array of "n" elements using a subscript of "n" instead of "n - 1". User Action Specify an array subscript that is within the bounds of the array type.
|