Re: [fpc-pascal] Re: ReadLn issues a warning

2005-05-20 Thread Peter Vreman
> Hello, > > this is a general feature when using an uninitialized variable as a VAR > parameter. > > The compiler cannot know if the called routine needs the parameter values, > or if the parameter is only used to return values back to the caller. > > So, I think, a warning here could be helpful (

[fpc-pascal] Re: ReadLn issues a warning

2005-05-20 Thread Gerhard Scholz
Hello, this is a general feature when using an uninitialized variable as a VAR parameter. The compiler cannot know if the called routine needs the parameter values, or if the parameter is only used to return values back to the caller. So, I think, a warning here could be helpful (in the case of