Re: [fpc-pascal] FPC docs about FindFirst

2019-09-22 Thread Michael Van Canneyt
On Sun, 22 Sep 2019, Tomas Hajny wrote: 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 codes: > the dos unit Findfirst() call must always be followed by a Findclose to release so

Re: [fpc-pascal] FPC docs about FindFirst

2019-09-22 Thread Tomas Hajny
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 codes: > the dos unit Findfirst() call must always be followed by a Findclose to release some resource. What's right ? The sysutils o

Re: [fpc-pascal] FPC docs about FindFirst

2019-09-22 Thread Michael Van Canneyt
On Sun, 22 Sep 2019, Ched wrote: Hello, Le 22.09.19 à 16:59, Michael Van Canneyt a écrit : On Sun, 22 Sep 2019, AlexeyT wrote: https://www.freepascal.org/docs-html/rtl/sysutils/findfirst.html 1) add to the list of attribs the value faAnyFile. Done. 2) correct the example: call Find

Re: [fpc-pascal] FPC docs about FindFirst

2019-09-22 Thread Sven Barth via fpc-pascal
Ched schrieb am So., 22. Sep. 2019, 21:11: > Hello, > > > Le 22.09.19 à 16:59, Michael Van Canneyt a écrit : > > > > > > On Sun, 22 Sep 2019, AlexeyT wrote: > > > >> https://www.freepascal.org/docs-html/rtl/sysutils/findfirst.html > >> > >> 1) add to the list of attribs the value faAnyFile. > > >

Re: [fpc-pascal] FPC docs about FindFirst

2019-09-22 Thread Ched
Hello, Le 22.09.19 à 16:59, Michael Van Canneyt a écrit : On Sun, 22 Sep 2019, AlexeyT wrote: https://www.freepascal.org/docs-html/rtl/sysutils/findfirst.html 1) add to the list of attribs the value faAnyFile. Done. 2) correct the example: call FindClose only inside block "if FindFirst

Re: [fpc-pascal] FPC docs about FindFirst

2019-09-22 Thread Michael Van Canneyt
On Sun, 22 Sep 2019, AlexeyT wrote: https://www.freepascal.org/docs-html/rtl/sysutils/findfirst.html 1) add to the list of attribs the value faAnyFile. Done. 2) correct the example: call FindClose only inside block "if FindFirst(..)=0" This is already so in trunk. Michael. ___

[fpc-pascal] FPC docs about FindFirst

2019-09-22 Thread AlexeyT
https://www.freepascal.org/docs-html/rtl/sysutils/findfirst.html 1) add to the list of attribs the value faAnyFile. 2) correct the example: call FindClose only inside block "if FindFirst(..)=0" -- Regards, Alexey ___ fpc-pascal maillist - fpc-pas