Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Understanding LINKED...
Message
 
À
10/03/1998 17:14:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00083669
Message ID:
00083752
Vues:
30
Jim and Everyone,

LINKED does the opposite of what the original poster was after. LINKED causes the form's existance to be linked to the variable's scope. Omitting LINKED will allow the form to survive the variable. The two examples below demonstrate;

A linked form



DO FORM FormA NAME loForm LINKED
RETURN && The form disappears because the local var goes out of scope

<\PRE>

No LINKED



DO FORM FormA NAME loForm
RETURN && The var loForm disappears and cannot be used anymore
&& but the form survives because it is NOT linked to the var

<\PRE>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform