Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The object itself
Message
De
28/05/2007 10:30:33
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
The object itself
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
01228871
Message ID:
01228871
Vues:
49
Code similar to the following gives me a compiler error:
with SomeObject
  SomeFunction(., par2, par3)
endwith
I want to pass the object itself - SomeObject - as a parameter. The object reference itself is much more complicated, so I don't want to repeat it in the function call.

I guess as a workaround, I'll have to use an object variable, but I thought there MIGHT be some other way to refer to the object itself, within a WITH.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform