|
|
Subject:
For JoseLeon-ga: Resizing an array in Delphi 3
Category: Computers > Programming Asked by: cyntlhiadiane-ga List Price: $5.00 |
Posted:
08 Oct 2003 11:16 PDT
Expires: 08 Oct 2003 18:16 PDT Question ID: 264270 |
I am able to pass my array. vAccountNum : array[1..2] of variant; At run time I do not know how many elements will actually fill my new array. As I need to save each element to my database, a huge fixed array will not work. As the program loops through, selecting the records, how I can resize my array? The array has to be some type of variant to match the existing type. And this is Delphi 3. I don't believe Delphi 3 supports dynamic arrays. sAccountNumber : olevariant; vAccountNum : array[1..2] of variant; looop through and get sAccountNumber; vAccountNum[iCount] := sAccountNumber; Call procedure to resize the array; // How do I resize my array to match iCount? Save to database; Thank you. Cynthia |
|
There is no answer at this time. |
|
There are no comments at this time. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |