Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to prompt out a dialog box for user to get in the fi
Message
De
25/01/2011 17:51:53
 
 
À
25/01/2011 17:08:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01497301
Message ID:
01497397
Vues:
60
>>>Hi Srdjan,
>>>
>>>Why not use the Directory() function? And I guess you know this, but there's never a need for a construct like iif(SomeFunction,.T.,.F.), a simple SomeFunction will give the same result. So I would prefer to simplify the DirectoryExist
>>
>>
>>Function is needed because (if memory serves me well) directory() function used to give inconsistent results.
>>Also if memory serves me well I picked up this tidbit from you or Sergey around here :))
>>
>>As for simplifying, you are right. I admit, remembering to go back and optimize / refactor is not my strongest point :)
>>
>>Sergio
>
>As far as I can remember, the Directory() function is safe, but File() is not always reliable.

I do not remember who came up with this adir() workaround (was not me!), but I wld suspect it was for a reason.
Otherwise, I have waisted numerous nanoseconds of valuable processor time.

So, who do I sue ?! <g>
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform