Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Another VFP 6 Tip
Message
De
20/07/1998 14:42:48
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00119212
Message ID:
00119404
Vues:
19
Hi Josh ---

Nice tip...I have already found this to be really valuable in my VFP6 dabblings.


>Try this code in VFP 5.0:
>
>x=CREATEOBJECT('CheckBox')
>y=x
>?y=x
You'll get a data type mismatch error even though both x and y are objects. Now try it in VFP 6.0. Now ?y=x returns .T. because both variables refer to the same object.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform