[fpc-pascal] How to solve "variable does not seem to be initialized" compiler hint.
Jonas Maebe
jonas.maebe at elis.ugent.be
Thu Nov 19 20:49:57 CET 2009
On 19 Nov 2009, at 20:44, cobines wrote:
> Is it wrong to use "out" for the sole purpose of informing the compiler that a function will set the initial value of a variable passed as the parameter?
No.
> Or is it just a side effect?
Yes.
> I use it all over the place in my programs. Is it safe to use with interfaces, ansistrings, dynamic arrays?
Yes.
> Should I stop using it this way?
No.
Jonas
More information about the fpc-pascal
mailing list