When you declare a dynamic array, you can specify the following
property:
- maxSize
- Specifies the maximum number of valid elements in the array. The
default value is unbounded; the number of elements is limited only
by the requirements of the target environment. Note that you can access
or change this value dynamically with the dynamic array functions getMaxSize() and setMaxSize().