Article View: pl.comp.lang.pascal
Article #92027Re: [Lazarus][Linux] FindFirst i Attr
From: Terrmit
Date: Thu, 26 Jul 2007 20:21
Date: Thu, 26 Jul 2007 20:21
19 lines
1578 bytes
1578 bytes
Tygrys napisał(a): > Result := LStat(FName, info) and S_ISREG(info.mode) and not > S_ISLNK(info.mode); > > :-) > > Tygrys Heh, dobra, OK :) Mnie ewentualnie chodziło o jakąś inną metodę ;) Ale OK, w sumie to bardzo zależy mi na szybkości działania, a takie skompensowanie nieco przyspiesza, więc może być :) Powinno być chyba minimalnie szybciej, ale badać mi się tego chyba nie chce ;) Tylko takie "kompresowanie" czasami zaciemnia kod, dlatego nie można z tym przeginać ;) Pozdrawiam, Sławek
Technical Details
Message-ID:
<f8b013$c8j$1@nemesis.news.tpi.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!nemesis.news.tpi.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mailReferences:
<f87pe4$j98$1@nemesis.news.tpi.pl> <f87sbv$hkb$1@news.dialog.net.pl> <f88fmn$5dl$1@atlantis.news.tpi.pl> <f8a4ge$u8e$1@news.dialog.net.pl> <f8asac$q$1@nemesis.news.tpi.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!nemesis.news.tpi.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail From: Terrmit <terrmitv@poczta.onet.pl> Newsgroups: pl.comp.lang.pascal Subject: Re: [Lazarus][Linux] FindFirst i Attr Date: Thu, 26 Jul 2007 22:21:14 +0200 Organization: tp.internet - http://www.tpi.pl/ Lines: 19 Message-ID: <f8b013$c8j$1@nemesis.news.tpi.pl> References: <f87pe4$j98$1@nemesis.news.tpi.pl> <f87sbv$hkb$1@news.dialog.net.pl> <f88fmn$5dl$1@atlantis.news.tpi.pl> <f8a4ge$u8e$1@news.dialog.net.pl> <f8asac$q$1@nemesis.news.tpi.pl> NNTP-Posting-Host: fge166.internetdsl.tpnet.pl Mime-Version: 1.0 X-Trace: nemesis.news.tpi.pl 1185481571 12563 83.13.160.166 (26 Jul 2007 20:26:11 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Thu, 26 Jul 2007 20:26:11 +0000 (UTC) User-Agent: Thunderbird 1.5.0.12 (X11/20070530) In-Reply-To: <f8asac$q$1@nemesis.news.tpi.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit