On 04/19/2002 at 04:50:07 AM, c400-l-admin@midrange.com wrote:

 for(i=1;i<=space->Number_List_Entries;i++) {
  printf("Object Type: %s\n", xobjects310[i].Path_Name); };

Peter, perhaps(?) the problem is the sequence of index values used to
access the xobjects310 array.  The index values should run from 0 to
(space->Number_List_Entries-1).  The for loop shown above is using values 1
.. space->Number_List_Entries.  This way, the loop will try to access a
value beyond the end of the array.

- Bob Donovan, IBM Rochester, rjd@us.ibm.com

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].