Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Timer
Message
From
02/06/2003 11:56:14
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
02/06/2003 11:21:09
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Re: Timer
Miscellaneous
Thread ID:
00795226
Message ID:
00795278
Views:
12
>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform