Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Timer
Message
De
02/06/2003 11:56:14
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
02/06/2003 11:21:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Re: Timer
Divers
Thread ID:
00795226
Message ID:
00795278
Vues:
11
>It is enabled.
>
>What do you mean 'myTimer is in scope or is that the all code'? I don't understand.
>
>
>David.

It means the following. This is your code:
SET CLASSLIB TO CustomClasses
myTimer = CREATEOBJECT('Timer')
Assuming this is the end of the procedure, as soon as the code finishes running, the variable myTimer will dissapear, and with it, the Timer. Therefore, the Timer will never run.

One more thing I notice is that you used "Timer" as the class. Probably the idea was to use your custom class?
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform