Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Instantiated a child object
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00456477
Message ID:
00456526
Views:
20
>
>DEFINE CLASS oChild AS CUSTOM
>   cSex = ''
>   nWeightInPounds = 0
>   nLengthInInches = 0
>ENDDEFINE
>
>oFamily = NEWOBJECT("container")
>
>oFamily.NEWOBJECT("AdamJamesLeClair","oChild")
>
>WITH oFamily.AdamJamesLeClair
>   .cSex = "M"
>   .nWeightInPounds = 6.5
>   .nLengthInInches = 19
>   .Show("12/22/2000 11:23AM")
>ENDWITH
>
Congrats - Now you'll have an assitant to help with those late night projects.
Imagination is more important than knowledge
Previous
Reply
Map
View

Click here to load this message in the networking platform