Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL count without French characters
Message
De
02/12/2002 12:24:55
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00728525
Message ID:
00728671
Vues:
28
>Michel,
>
>The m.euroansi is a public variable, so you don't have to restore it before every select.

It's private:
Clear all
x="whatever"
Save to temp

Clear all
Public x
DO RestoreProc

Procedure RestoreProc
Restore From temp
clear
Display Memory like x
I've tried several other ways (without declaring a public, with declaring public before save), but whatever I did outside of the procedure, it was always private to the procedure where the Restore command was issued. This has been so since FoxPlus.

Now when I declared x in the procedure, it became:
- public after the restore(!) if declared local
- private with outer x hidden if declared private
- private with outer x not shown if declared public

Anyway, these issues with the scope of the restored variables (they all become private to the procedure, regardless of their scope when saved) have always made the save/restore process as something of limited usability.

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