Mike Yearwood
Toronto, Ontario, Canada
General information
Category:
Coding, syntax & commands
Hi Fred
So if I make a little PRG with a DEFINE CLASS command in it and I include that PRG in my project, will the class be available for subclassing, or must I DO .PRG first?
>>Hi Matt
>>
>>A better question might be, why do we not have an alternative to classlibs?
>>
>>If I built a classlib with 3 classes, I cannot share just one class with you. I have to send you all three. If the 2 classes you didn't need were based on other classes, you'd end up with a ton of extra stuff.
>>
>>This is not unlike the SET PROCEDURE to huge.prg. If huge.prg has tons of procedures in it, I can't easily share one of them with you, without cutting and pasting.
>>
>>We've always had the option of creating individual .prgs with one procedure/function in each vs the lots of procedures/functions per prg. If I create little prgs for each function, I don't have to SET PROCEDURE to use them in an APP or EXE or anytime.
>
>So use DEFINE CLASS for all of your classes, and you can have it the same way.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only