General information
Category:
Coding, syntax & commands
Environment versions
Network:
Windows 2003 Server
>>>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 am amazed to still be learning things about FoxPro. Thanks.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only