| View previous topic :: View next topic |
| Author |
Message |
Jaysun
Joined: 01 Nov 2004 Posts: 20
|
Posted: Tue Aug 15, 2006 8:07 pm Post subject: Two quick questions about turning a timer off. |
|
|
If I use SetTimer, MyTimer, Off within the MyTimer subroutine will that subroutine quit immediately or will it continue until the end of the subroutine?
Is this behavior different if the subroutine was run by a timer or by a gosub?
Thanks much,
Jason |
|
| Back to top |
|
 |
toralf
Joined: 31 Jan 2005 Posts: 3841 Location: Bremen, Germany
|
Posted: Tue Aug 15, 2006 8:10 pm Post subject: |
|
|
It will continue. It just doesn't start the next time the interval has passed.
It doesn't matter if called by a timer or gosub. _________________ Ciao
toralf  |
|
| Back to top |
|
 |
|