Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Possible bug in keypress
Message
From
02/08/2007 15:38:16
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01245609
Message ID:
01245636
Views:
28
Naomi,

well, it's 21:35 here, but I am willing to bet that I am not tired. Condition1 is true, condition2 is true, and "do something" is run in both cases, but "do something" BEHAVES DIFFERENTLY!

NB! I changed "soemthing" into "soemthing", which was a typo, and not related to the problem at all.

>Tore,
>
>I think you're tired :)
>
>Look closer and you'll understand, these two are not equavalent.
>
>Do I need to explain why? :)
>
>>Borislav,
>>
>>actually adding the second parameter to DoDefault() made the strange behavior stop. I don't mean to be ungrateful, but I was not so interested in solving the problem itself, because I already had that solved. I was more interested in knowing WHY the construct
>>If condition1 and condition2
>>  do something
>>Endif
>>behaves differently from
>>If condition1
>>  If condition2
>>    do something
>>  Endif
>>Endif
>>I am pretty sre that this is a bug, but I don't expect it to be fixed. :-)
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform