Sven Barth wrote:
=== code begin ===var dirinfo: SearchRec; begin dirinfo := Default(SearchRec);
Out of curiosity, does this work: var dirinfo: SearchRec= Default(SearchRec); -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal