Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using .PRG Classes
Message
De
15/11/2000 16:07:44
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00442305
Message ID:
00442325
Vues:
7
>>When you run a program that will use these classes, SET PROCEDURE to each of them.
>>As long as it's in memory, it will find it.
>>Be careful not to have identically named classes in each prg, otherwise it will just use the first one if finds.
>
>So the answer is a third .PRG? I'll give that a try, thanks.

Well, that's not the answer really. The answer is the SET PROCEDURE TO to bring these prg's into memory, just like you would to be able to access a function within a prg.

You would most likely SET PROCEDURE to the subclass's prg file, so just set to both while you're at it.

You could also include both definitions in the same prg - no harm in that.
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform