Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Instantiated a child object
Message
From
22/12/2000 16:17:20
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Instantiated a child object
Miscellaneous
Thread ID:
00456477
Message ID:
00456477
Views:
55
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
Dan LeClair
www.cyberwombat.com
SET RANT ON - The Wombat Blog

Life isn’t a morality contest and purity makes a poor shield. - J. Peter Mulhern
Disclaimer: The comments made here are only my OPINIONS on various aspects of VFP, SQL Server, VS.NET, systems development, or life in general, and my OPINIONS should not be construed to be the authoritative word on any subject. No warranties or degrees of veracity are expressed or implied. Void where prohibited. Side effects may included dizziness, spontaneous combustion, or unexplainable cravings for dark beer. Wash with like colors only, serve immediately for best flavor.
Next
Reply
Map
View

Click here to load this message in the networking platform