View Single Post
  #1  
Old 02-18-2009, 03:49 AM
DrunkenBrit DrunkenBrit is offline
Member
 
Join Date: Dec 2008
Location: England
Posts: 25
For Loop in Callbacks?

Hi,

I'm assuming you can't have for loops (or any loops?) inside timer callback functions? I'm getting an invalid syntax error when attempting this. If this is the case, I take it it's due to the for loop possibly taking longer to execute than the time before the callback should be invoked again?

Thanks,

-DB
__________________
Software Developer
Virtalis Ltd.
www.virtalis.com
Reply With Quote