Solved

dynamically change array size

Posted on 1998-07-08
2
197 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

744 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now