Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Empty function
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01397863
Message ID:
01397864
Views:
111
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
Previous
Reply
Map
View

Click here to load this message in the networking platform