dynamically change array size

May i know how to dynamically change the array size during runtime? Is there any way to do this in Delphi 3?
Thank you
smile_tbwAsked:
Who is Participating?
 
BlackManConnect With a Mentor Commented:
In D4 there is dynamic arrays, but in D3 you can't change arraysizes.
0
 
vladikaCommented:
For example
You can use Variant as array and VarArrayRedim procedure

There is other way create dynamic arrays.
For example you can see how TList implemented
(private FList is pointer to dynamic array)

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.