So what is best way to to this?
Just continue to build within Lazarus and simply
learn what the messages mean and whether you can safely ignore or disable them.
a: TStringArray =();
b : string ='';
But I thought that was supposed to be implicit for managed types, or is there a mode dependency there?
Yes, it's implicit and the reason why I personally am opposed to this hint cause unlike for the
Result variable it definitely makes no difference.
But I thought that was supposed to be implicit for managed types, or is there a mode dependency there?
It depends on two things:
- heap or stack, heap is clean, stack is not (with the default MM)
Implicit initializaton depends on neither of these and happens always.