Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File()
Message
De
31/12/2003 09:31:24
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
31/12/2003 09:21:11
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: File()
Divers
Thread ID:
00862385
Message ID:
00863122
Vues:
18
>>THanks Hilmar that was my original problem (the embedded jpg that was on a report) but in looking for the answer to the same jpg always showing up ( and not yet knowing why) thats when I found this odd file() behavior in the trace & watch windows...
>
>I THINK this is the behavior of file() vs. adir(), then, and perhaps the reason that some people complain about the file() function:
>
>file() returns whether a file can be found. It may be in the current directory, along the PATH, or embedded in the EXE.
>
>adir("myfile.ext") > 0 returns .T. if the file is found in the current folder, or in the specified folder, since that is what adir() looks for.

Hi Hilmar,
Still working :(
I'm one of those complaining about file() and I severe I saw it to return .T. when the file didn't exist and no where it could find it from (like inclusion in project).
But it was long time ago, might be a bug in a previous version which I don't remember. If as a PUTM you had the ability to search for msgs older than 2 years I'm sure I posted or replied a question about it with reproducing:( That's actually why I have IsFile() function for a long time.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform