Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 206
  • Last Modified:

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
0
smile_tbw
Asked:
smile_tbw
1 Solution
 
BlackManCommented:
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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now