Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_Tally and other 'global' variables
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00139598
Message ID:
00139769
Vues:
27
>What is the general concensus about using the global variables such as _tally.
>
>select * from sometable into cursor somecursor
>...
>if _tally>0
>
>verses
>
>select * from sometable into cursor somecursor
>...
>if reccount("somecursor")>0
>
>
>and other constructions. I can see using _screen as it is the only way to manipulate the fox window, but what of the others? Seems to me that if there is an 'encapsulated' way of doing things, than it should be done that way.
>
>Just curious about other opinions.
>Thanks

Thank you to all who replied.
After getting banged in the head for years about, 'do not use global variables', these 'constants' threw me for a loop.
If they have you asking the wrong questions,
they don't have to worry about the answers.
-proverbs for paranoids #3
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform