Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL count without French characters
Message
From
02/12/2002 12:24:55
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00728525
Message ID:
00728671
Views:
27
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform