Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_Tally and timers
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01102133
Message ID:
01103289
Vues:
14
>Peter,
>
>What about making _tally private?
>
>
>clear
>
>local test1(1)
>
>create cursor test (id I autoinc)
>append blank
>append blank
>append blank
>append blank
>
>select * from test into array test1
>
>AnotherSelect()
>
>? Program(), _tally
>
>use in Select('test')
>
>function AnotherSelect
>local test2(1)
>private _tally
>
>select * from test where .f. into array test2
>
>? Program(), _tally
>
Great! Not the panacea for all pain, I guess, but this might become a new best-practices principle.

Pity that it can't be declared as LOCAL.
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform