Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Understanding LINKED...
Message
From
10/03/1998 21:09:25
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00083669
Message ID:
00083787
Views:
30
Thanks, Jim!

Cheers,
Jim N

>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
Reply
Map
View

Click here to load this message in the networking platform