[nbos] GoblinAPI"Donald Ziegler" Tue Mar 13th, 2007
I know that the arrays are zero based ...
But: X = oMap.AddObject (o)
Shouldn't X be the map index of object o OR is it X-1 ?
>>3) I have a script that creates a number of submap type objects on
>>the map. The objects are created in a loop and I am collecting the map
>>index numbers in an array as the object is added. But when the first
>>object is created the index that is returned is actually the index for the
>>next object. Once I figured out what was going wrong, I simply subtracted
>>1 from all of the index numbers returned from AddObject(). Is this as
>>designed or am I still missing something?
>This is correct - arrays are zero based.
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.9/719 - Release Date: 3/12/2007
Nbossoftware mailing list