m_essaid
10 years agoValued Contributor
delphiScript... dynamic array (or open array)
Hi, I need to declare a dynamic array because i'll know only after its size (it's a ComboBox.wItemCount property that will give me the size). I can't declare only : t: array of string; Does...
- 10 years ago
Here you are:
procedure Test; var arr; begin
// ...
arr := CreateVariantArray(0 {lowest index}, ComboBox.wItemCount-1 {highest index});
end;