Hello
I seem to have a strange problem here:
procedure Something(var FirstArray:array of string);
var SecondArray:array of string;
begin
SetLength(SecondArray, 1);
SecondArray[0]:='SomeString';
FirstArray:=SecondArray; <- ERROR HERE "The operator is not aplicable to operand type"
end;
WTF? Both arrays are of the same type.
I tried SetLength(FirstArray, 1);, but got "Type mismatch" error. Am I missing something?
TIA
Mike