Hi, > However, the for loop is standard.. > for(i=1;if array[i] != -1;i++) > > So I don't see how it could possibly be creating > an object with a number of -1, since it should > easily abort out of the for loop. It seems doubly > odd because it works just fine on reboot. Any help > GREATLY appreciated You could use a while loop to do it. something like: i=1; while(array[i] != -1) { <whatever> i++; } Albert +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST