/sys$common/syshlp/helplib.hlb
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.
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.