Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DEFINE CLASS fowl AS ....
Message
De
24/11/1999 16:51:02
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00295315
Message ID:
00295324
Vues:
25
Doh!

>Error: Property BordType is not found.
>
>>Hi Folks.
>>
>>
>>DEFINE CLASS cooktimer AS Timer
>>PROCEDURE Timer
>> WAIT WIND "Happy Thanksgiving!" NOWAIT
>>ENDPROC
>>ENDDEF
>>DEFINE CLASS fowl AS Custom
>>Cooked = .F.
>>Weight = 20
>>BirdType = ""
>>PROCEDURE Init
>>PARAMETERS cBirdType
>>This.BordType=cBirdType
>>ENDPROC
>>PROCEDURE cook
>>THIS.AddObject("OvenTimer","cooktimer")
>>This.CookTimer.Interval=2180000
>>ENDPROC
>>ENDDEF
>>
>>oTurkey = CREATEOBJECT("fowl","Turkey")
>>oTurkey.Cook
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform