Type in the words(s) to search for:

    Mark results
      Userbooster Help

      Array Object

      An object representation of the array data type.

      Properties

      type

      Returns a string that represents the current object.

      Methods

      getAt

      Gets an object at the specified position.

      Parameters

      nPosition

      Position of the object in the array.

      setAt

      Sets an object at the specified position and returns a reference to the array object.

      Parameters

      nPosition

      Position of the object in the array.

      object

      Object to set at the specified position.

      size

      Gets the size of the array.

      insert

      Inserts an object at the specified position and returns a reference to the array object.

      Parameters

      object

      One or more objects to insert.

      nPosition

      Position at which the object(s) to insert. The argument is optional. When it is missing, the object is inserted at the end of the array.

      nCount

      Number of objects to insert. The argument is optional. The default value is 1.

      erase

      Erases one or more objects at the specified position and returns the number of erased objects.

      Parameters

      nPosition

      Position at which the object(s) to erase. The argument is optional. When it is missing, all objects in the array are erased.

      nCount

      Number of objects to erase. The argument is optional. The default value is 1.