Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File()
Message
De
29/12/2003 16:33:01
Al Doman (En ligne)
M3 Enterprises Inc.
North Vancouver, Colombie Britannique, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: File()
Divers
Thread ID:
00862385
Message ID:
00862653
Vues:
15
>The watch window of the debugger states that the file exists
>The trace window of the debugger on the line of code that tests for the existance fails
>
>
>* trace window
>if file(xFile)  && Fails
>
>* watch window (at the same time)
>file(xFile)     && returns .T.
>
>
>
>So VFP cant agree with itself on this ???
>
>BTW the value of xFile is a UNC path to a server share and file such as:
>"\\Server_ii\MIS\MIS\Shared\Images\EmployeePics\_235\300x350.jpg"
>
>
>Thanks !

That IS strange. All I can think is that somehow the two windows are running in different contexts.

I assume you've confirmed that the values of xFile are exactly the same in both windows? i.e. put "xfile" as a watch, and hover over "xfile" in the Trace window?
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform