[fpc-pascal] Initialize

Ewald Horn ewald at nofuss.co.za
Wed Jun 21 20:38:39 CEST 2006


Hi,

silly question but I can't find the answer anywhere...

How do I initialize a variable of the type  : textfile ?
I keep getting the following hints from the compiler using FPC but I can't
figure it out.

Hint: Local variable "inFile" does not seem to be initialized

It's been ages since I've used Pascal and I know I'm missing something but I
can't find the answer. "inFile" is of the type textfile. Of course,
everything works, it's just I am old school and like it when I run the
compiler and get no warnings or hints.

Is there somewhere I'm not looking for the information ?

Kind regards
Ewald Horn
South Africa




More information about the fpc-pascal mailing list