[fpc-pascal] how to initialize a SearchRec var?
Sven Barth
pascaldragon at googlemail.com
Fri Jan 3 07:41:22 CET 2014
On 02.01.2014 22:27, Mark Morgan Lloyd wrote:
> Sven Barth wrote:
>> === code begin ===
>>
>> var
>> dirinfo: SearchRec;
>> begin
>> dirinfo := Default(SearchRec);
>
> Out of curiosity, does this work:
>
> var
> dirinfo: SearchRec= Default(SearchRec);
>
Not yet. It's on my ToDo list however since I implemented Default().
Regards,
Sven
More information about the fpc-pascal
mailing list