On Tue, 24 Sep 2019, Anthony Walter wrote:
Michael,
Okay I tested and it turns out you are right. I was omitting faDirectory or
faSymLink in FindFirst, so the faSymLink is only set in TSearchRec if you
request it. Thanks.
You're welcome.
You would not be the first to be confused by the use
Michael,
Okay I tested and it turns out you are right. I was omitting faDirectory or
faSymLink in FindFirst, so the faSymLink is only set in TSearchRec if you
request it. Thanks.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.f
Op 2019-09-24 om 18:57 schreef Ralf Quint:
On 9/24/2019 12:24 AM, Marco van de Voort wrote:
Op 2019-09-24 om 03:03 schreef Ralf Quint:
systutils, so having documentation that includes the differences
between the versions would be helpful.
Turbo Pascal (for DOS) didn't have a FindClose functi
On 9/24/2019 12:24 AM, Marco van de Voort wrote:
Op 2019-09-24 om 03:03 schreef Ralf Quint:
systutils, so having documentation that includes the differences
between the versions would be helpful.
Turbo Pascal (for DOS) didn't have a FindClose function, as
"officially", this would not be neces
Op 2019-09-24 om 03:03 schreef Ralf Quint:
systutils, so having documentation that includes the differences
between the versions would be helpful.
Turbo Pascal (for DOS) didn't have a FindClose function, as
"officially", this would not be necessary on DOS. On all other OS,
including Windows,
On Tue, 24 Sep 2019, Anthony Walter wrote:
Related,
It would seem on Linux that FindFirst, FindNext or TSearchRec that none of
them can properly detect a symbolic link. For example, if you wanted
enumerate files and folder, and there exists a symbolic link inside one
folder to some parent of
Related,
It would seem on Linux that FindFirst, FindNext or TSearchRec that none of
them can properly detect a symbolic link. For example, if you wanted
enumerate files and folder, and there exists a symbolic link inside one
folder to some parent of said folder, it's not possible to detect leading
On 9/23/2019 3:53 PM, James Richters wrote:
I have ported Turbo Pascal code but then use Sysutils instead of DOS, my
intention was to convert it to a windows console application that used windows
features, and I had no interest in maintaining Turbo Pascal backward
compatibility, and the use o
I have ported Turbo Pascal code but then use Sysutils instead of DOS, my
intention was to convert it to a windows console application that used windows
features, and I had no interest in maintaining Turbo Pascal backward
compatibility, and the use of findfirst, findnext, etc, was part of the co
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
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
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
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.
> >
>
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
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.
___
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
16 matches
Mail list logo