Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
tim and reference to function
#1
Hi Gintaras,

A hard one for me: I want to make my own timx function so that I can test whether it has a running thread.
But whatever reference I have tried, tim keeps complaining: 'expected function name'. Here is the code:

Function tim1
Code:
Copy      Help
/
function double'delay str'somefunction int'flags
tim delay somefunction flags

regards,
Gert
#2
tim limitation - cannot use variables for function name. Even cannot be function address, like &Func.
#3
thank you.
I only now noticed that QM gives me under Timers which tim ending macroname is running, so that I do not need to have my own timx !


Forum Jump:


Users browsing this thread: 1 Guest(s)