Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DEFINE CLASS fowl AS ....
Message
 
À
24/11/1999 16:42:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00295315
Message ID:
00295321
Vues:
22
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
kenweber
GCom2 Solutions
Microsoft Certified Professional

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform