I'm using Windows 10, but I may in the future want to make a Linux version of 
my program.  I guess that's what the warning is about.. that fAHidden won't 
detect hidden files on some operating systems?

James

-----Original Message-----
From: fpc-pascal <fpc-pascal-boun...@lists.freepascal.org> On Behalf Of 
wkitt...@windstream.net
Sent: Friday, July 19, 2019 11:20 AM
To: fpc-pascal@lists.freepascal.org
Subject: Re: [fpc-pascal] Warning: Symbol "faHidden" is not portable

On 7/19/19 7:45 AM, James Richters wrote:
> What does  'Warning: Symbol "faHidden" is not portable' mean exactly?  
> I’m using it with FindFirst and FindNext,  I'm just wondering if there 
> is a better way of getting directory information that includes hidden 
> and excludes hidden files in a better way that would not generate this 
> warning.  The Fact that there is a warning about it indicates to me 
> that there must be a better way.
what OS? some OSes do not have hidden attribute like DOS and winwhatever... for 
example, on most *nix, they use dot files which are generally specifically not 
listed unless special steps are taken to show them... a "dot file" is one that 
the filename starts with a dot...

   eg: .dirindex

--
  NOTE: No off-list assistance is given without prior approval.
        *Please keep mailing list traffic on the list unless*
        *a signed and pre-paid contract is in effect with us.* 
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org 
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to