Unit: | SDL_vector | Class: | TVector, TIntVector | Declaration: | function Resize (NE: longint):
boolean; |
The method Resize changes the number of elements of an existing vector. It returns TRUE if the resizing has been completed successfully. The new dimension of the vector is specified by the parameter NE. Data of the existing vector are not destroyed (as far as they can be contained in the new vector). Additional vector elements are filled with zero values.
Hint: |
In the Light Edition the number of vector elements is restricted to 2000. |
|