[fpc-pascal] FPC docs about FindFirst
XHajT03 at hajny.biz
Sun Sep 22 23:14:03 CEST 2019
On 2019-09-22 23:04, Michael Van Canneyt wrote:
> On Sun, 22 Sep 2019, Ched wrote:
>> From https://www.freepascal.org/port.html about porting Turbo Pascal
>> > the dos unit Findfirst() call must always be followed by a Findclose to release some resource.
>> What's right ?
> The sysutils one. I will adapt the 'port' document.
As mentioned by Sven, there's probably no reason for any adapting it -
people porting Turbo Pascal code use Dos.Find* rather than the sysutils
version and since Dos.FindFirst doesn't return a handle directly (it's
hidden within the SearchRec record), calling Dos.FindClose always is the
More information about the fpc-pascal