Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Empty function
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01397863
Message ID:
01397864
Vues:
112
This message has been marked as the solution to the initial question of the thread.
>Does the expressions below have the same behaivour ?
>
>if empty(myField)
> isEmpty = .T.
>endif
>
>if MyField = ""
> isEmpty = .T.
>endif
>
> I always had problem deciding which one to use and would like to have some opinions
>
>Moses

They are not identical
myField = SPACE(100)
?EMPTY(myField)
?myField==""
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform