How do I Build and Return an Open Array
I know I can do this with a TList or other means - but seems over the top...
 
eg
function GetMyInts: Array of Integer;
var
    I: Integer;
begin
    for I := 0 to 10 do
        Result := Result + I;
end;
 
 
Regards
Paul McKenzie
SMSS Ltd.
Wellington
New Zealand
_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to