Here I read interesting discussions about the "not initialized" warning, which I understood partly.
I know, this code lines do not makes sense. They are a simplification of my code.
This is a situation in my code:
Anzahl:=0;
SetLength(result, Anzahl);
where these lines are part of a function, of which the result is an
array of....(some type)
Can somebody kindly comment what I shall do best to get rid of the warning?
it reads
Warning: function result variable of a managed type does not seem to be initialized.