>>>I am just thinking of the following. What would happen if I define a Timer with a local variable, in the main program? What would happen with the object? In any other place (outside the main program), the variable is invisible, but still exists. Would the Timer events run? Not that I am proposing such a radical thing, but I was just wondering what would happen.
>>
>>Declaring it PRIVATE would have no effect (it's essentially PUBLIC to all code that is called from the main routine). What would happen is that your timer object would go out of scope when the main reoutiine was finished, which is probably what you'd like to have happen anyways.
>
>Yes, but I was wondering about the LOCAL case. In lower-level routines (called from main.prg), the Timer would still be in memory, but not accesible until program flow continues to main.prg.
Hmm, I don't know about that. I've only used timers local to forms, or on _SCREEN objects, so accessability has never been an issue for me.