The Array Pseudo-Object


RSP supports arrays through the array pseudo-object. It is a pseudo object in that it differs from true object types in the following ways:

  • Array objects are declared by placing empty array subscrips after the data type in a normal variable declaration.

  • The elements of an array object can be accessed using array subscripts with an index. The index must be within the bounds of the array.

  • Array objects cannot be assigned the value null like other object variables.

Table of Contents

Array.length - find the length of an array
Array.resize - find the length of an array