Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Strange Behavior of the not equal to operator
In the click event of a button in a form I have the following code. It started out performing a task but I have simplified it for debugging.
suspend
if nnn <> ndrop && both are string variables
Messagebox("it worked")
endif
At the moment of suspension, The value of nnn is 5035S and the value of ndrop is ""
The messagebox never appears, it is skipped over and later code is executed.
If I change the IF statement to if a=a it works fine.
Does anyone have and insight into my problem
Suivant
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