Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I call a METHOD from a procedure ?
Message
De
15/04/1998 21:43:08
 
 
À
15/04/1998 15:26:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00092218
Message ID:
00092373
Vues:
29
>OH - I see -
>you need to createobject() when you want to call a method
>in a class? is that right?
>sample - If I have a class called myclass and in this class
>you have a method called my_method. If I want to call my_method,
>I need to :
>o_myobj = createobject("myclass") then you can...
>o_myojy.my_method()


Robert, that is a _big_ OIC!

From my limited experience, that paragraph goes right to the heart of O-O programming, After I "grokked" this (not very long ago), everything started to fall in place.

Peter Robinson
Peter Robinson ** Rodes Design ** Virginia
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform