Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is better .NULL. or NULL
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01365771
Message ID:
01365778
Views:
11
>>I noticed that when I type NULL in my code VFP automatically sets the font color of the word in blue. Whereas if I type it as .NULL. (with period before and after), it stays unchanged. It seems like VFP treats NULL as a special word vs. .NULL. Is there really a difference? Or what is the better practice?
>
>NULL && is keyword
>.NULL. && is value
>
>
>MartinaJ

I am not sure I understand. When I do the following:
thisform.MyProperty = NULL
Is NULL a value or a keyword? To me it seems to be both.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform