forgot: win32 vista
On 16/05/2013 16:43, Martin wrote:
using rev 24475 the below fails. It works using 2.6.0
Afaik it should work? dynamic types (such as TDynIntArray ) should be
initialized?
Checking in the debugger it looks like VarStatIntArray2A[5] is not
initialized.
program Project1;
type
TDynIntArray = Array of Integer;
procedure Foo;
var
VarStatIntArray2A: Array [5..9] of TDynIntArray;
begin
SetLength(VarStatIntArray2A[5],3);
end;
begin
Foo;
end.
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel