Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Citrix - VFP7 Not Behaving Properly
Message
De
30/11/2005 09:22:23
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
29/11/2005 21:57:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
01072601
Message ID:
01073204
Vues:
15
>Jim:
>
>The expression is not evaluating properly on terminal services. See below truth table:
>
>If .t. .and. .t. then it does what it is supposed to.
>
>If .f. .and. .t. will not be checked so I don't know.
>
>If .t. and .f. then it does what it is NOT supposed to do!
>
>The second part of the statement is always evaluated to .t. on a workstation when it is supposed to be. I suspect the .exe flipped a bit when copied to terminal services, but I am open to suggestions.

If you think there may be some oddball error when evaluating the logical expressions, try to break it into simpler expressions, assign the value of each to a variable, assign the final value to yet another variable... and log the whole thing:
lHoursIsN=std_hoursonly = 'N'
lPayEvent99=dcpay.payevent = '99'
lPayCode00=dcpay.paycode = '00'
lWholeThing= lHoursIsN and not (lPayEvent99 and lPayCode00)
* logging is left to reader as exercise :)
oLog.log(lHoursIsN, std_hoursonly, lPayEvent99, dcpay.payevent, lPayCode00, dcpay.paycode, lWholeThing)
if lWholething
* then do your thing

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform