[fpc-pascal] ReadLn issues a warning
dondos at otenet.gr
Sat May 14 12:52:59 CEST 2005
could you please tell me if there is something wrong with the following
Assign (f, 'test.dat');
ReadLn (f, i);
ReadLn (f, s); // Warning: Variable not initialized
FPC 1.9.8 on Linux issues a warning that FPC 1.0.10 never did.
The question is why the string variable needs to be initialized?
And if it does, then why the integer variable does not issue the same
Thanks in advance,
More information about the fpc-pascal