Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>Don't use wexist() for this. Althought is working well, you can have problems with it on long term (because your app will evoluate and things are changing... ask Michel, he knows it very well). I also had this problem and I switched from wexist() to isnull(). The good way of doing things is ISNULL().
>
>Yes, good decision, while talking about that, I just sent this strange behavior about the last week thread to a Microsoft person requesting more information about this. Lets see if this is gonna be back as it was in 3 in version 6. :)
Good idea! :) This way, we will have alternative behaviors with each FoxPro version. So, we can write code like that:
if mod( FoxVersion(), 2) = 0
* Code for even versions
else
* Code for odd versions
endif
Althought, it will not work since MS versions are random generated. :)
Vlad
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement