General information
Category:
Coding, syntax & commands
>>Hey Guys,
>>
>> I Try to use the DEFINE CLASS commande to subclass something in the Method of a object and it doesn't work
>>
>>Do you Have some Hits ?
>>
>>Rocky Boy...
>
>As far as I tested, DEFINE CLASS is executed when load the file. This command is treated different from other Fox commands and you can't have it into a procedure/function/method.
>
>BTW, any Fox code following a DEFINE CLASS ... ENDDEFINE in a prg is ignored.
>
>Vlad
Thank's Guys
But it's Very bad Because it force him to coding class definition in the "prg" file instead of in the object. And I was thinking that when we use a object oriented language all the coding can be in a object and we can create a object(Class definition and instance) as fast and easly as a variable. I know that it's possible to work arrond with this, but it's bad anyway; Specialy when you want use a object for a parameter; you can't create it when you want and wan you need.
Ok It's enought for language beaching ... Bye
Thank's Again
Rocky Boy...
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