Solved

dynamically change array size

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

863 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

26 Experts available now in Live!

Get 1:1 Help Now