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_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to