Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Understanding LINKED...
Message
 
To
10/03/1998 17:14:09
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00083669
Message ID:
00083752
Views:
34
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>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform