On Wed, May 13, 2020 at 10:40 AM Noel Duffy via fpc-pascal
<fpc-pascal@lists.freepascal.org> wrote:

> > And maybe change the var into an out
I agree, it gives unnecessary warning about uninitialized variables.


> As I've already learned the hard way, the sockets unit is compiled in
> "fpc" mode, so there's no "out" parameters. Otherwise I would definitely
> have used one.

{$modeswicth out} perhaps?

-- 
Bart
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to