Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scatter - Gather scoope.
Message
De
05/08/1998 14:51:05
 
 
À
05/08/1998 14:44:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00124208
Message ID:
00124210
Vues:
21
>Hi All
>
>I have a system that work O.K. under VFP3 but Not working under VFP5.
>
>One Form1 do Scatter memvar Blank then it calls Form2 where it does Scatter memvar memo.
>
>It seems that the scatter memvar creating PRIVATE variables because the scatter in form2 are NOT updating the variables in Form1.
>
>Is there a way around this, where the first scatter will create Global variables without me dclaring the variables Global before the scatter in Form1 . or am I doing something wrong.
>
>Thanks
>Mo

You know sticking to variables you expose your code to situation when it will stop to work in ver. 6 or 7 or 8 :). VFP is not variable-oriented environment anymore. If you still want to use Scatter/Gather construction then look at SCATTER/GATHER NAME ObjectName, and you can always provide reasonable and checkable scope of this object linking it to form/app property.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform