Solved

dynamically change array size

Posted on 1998-07-08
2
200 Views
Last Modified: 2011-09-20
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
Comment
Question by:smile_tbw
2 Comments
 
LVL 7

Accepted Solution

by:
BlackMan earned 50 total points
ID: 1357291
In D4 there is dynamic arrays, but in D3 you can't change arraysizes.
0
 
LVL 3

Expert Comment

by:vladika
ID: 1357292
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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

838 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question