|
On 04/19/2002 at 04:50:07 AM, c400-l-admin@midrange.com wrote: for(i=1;i<=space->Number_List_Entries;i++) { &xobjects310[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
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.