Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
To DOT or not to DOT
Message
From
05/09/2001 17:01:50
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
05/09/2001 16:47:46
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00552816
Message ID:
00552833
Views:
17
>Hi all,
>
>In VFP, what is the 'preferred' (read as future compatibility) way to use the AND & OR operators & NULL assignment. To use them with dots or not.
>
>*-- to DOT
>IF X .AND. (Y .OR. Z)
>   A = .NULL.
>ENDIF
>*-- or not to DOT
>IF X AND (Y OR Z)
>   A = NULL
>ENDIF
>
The dots were mandatory in FoxPlus and other versions prior to FoxPro. They are still allowed for compatibility's sake, but not necessary at all. Dropping them would be a good idea for the reasons others have already stated.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform