seSetArray
syntax: |
boolean SEContext.seSetArray(SEObject object, int length); |
where: |
object the object to adjust
length one more than the new max element
|
return: |
This function returns true if the object was adjusted, false if it was already an Array and no elements were eliminated.
|
description: |
This call turns an object into an ECMA Array and adjust its elements. Any numbered element greater than or equal to the length is deleted. In addition, the object is permanently marked as an ECMA Array object. This means that its length element corresponds to the numbered elements and adjusting either adjusts the other just as for an Array.
If you want to turn an object into an Array without altering any elements, use SE.MAX_INDEX as the length parameters.
|
see: |
|