I am trying to create an array to store each element of TStringList into an array, the size of which may vary depending on the number of elements in the specified TStringList.
I know that my syntax is incorrect, and I probably want a dynamic array, so [0..100] is probably wrong, but I could not find an alternative syntax on the Internet.
ProductAvailabilityResult = Class(TRemotable)
private
FResultArray : array[1..100] of string;
published
property ResultArray[Index: Integer]: array of string read FResultArray write FResultArray;
End;
And this is how I will refer to it and fill it. conditionList is my TStringList that I would populate in my array.
for I := 0 to conditionList.Count - 1 do
begin
aProductAvailabilityResult.ResultArray[I] := conditionList[I];
end;
, , , - SOAP-, , PHP/Soap TStringLists, .
, !