Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
With ... endwith and objects
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01098462
Message ID:
01098591
Vues:
14
>I want to use WITH .... ENDWITH with different objects that will be defined at the rum-time. How can I do that?

And for all the variations they given you, you can use the AS clause to get Intellisense, for example, using Fabio's approach:
with getpem(someobject,"dynamicObject") as myClass of myClassLib

endwith
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform