Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
To DOT or not to DOT
Message
De
05/09/2001 17:01:50
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
05/09/2001 16:47:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00552816
Message ID:
00552833
Vues:
16
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform