Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using .PRG Classes
Message
From
15/11/2000 16:07:44
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00442305
Message ID:
00442325
Views:
14
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform