Solved

dynamically change array size

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
FMX enumerated colours 2 100
How to convert memory stream to PDF file 6 59
Firemonkey android show image from resource ? 1 42
Delphi: barcode reading on android platform 1 30
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

777 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