Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Instantiated a child object
Message
 
 
À
22/12/2000 16:17:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00456477
Message ID:
00456492
Vues:
28
BTW, can you translate in kilos and sm? My son was 3,8 kg and 50sm after born.

>
>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
>
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform