seSetArray
syntax: |
sebool seSetArray(secontext se,seobject object, sememcount length); |
where: |
se the context the object belongs to
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: |
|