Evening anyone,
I'm not sure this is the right section, but I couldnt see anything similar on the other topics:
Could someone tell me if I can use a variable with seconds?
Ie instead of 'send command to me in 10 seconds,' I wanted to write 'send command to me in variable seconds.
This is because the app user chooses the above delay, but it doesn't work. It looks like it ignores the variable and treats 'seconds' as 1 second.
Any help would be much appreciated.
Using a variable with seconds
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Using a variable with seconds
Hi Paul,
this works here:
and my handler "beepen" fired after 5 seconds!
Best
Klaus
this works here:
Code: Select all
...
put 5 into tSecs
send "beepen" to me in tSecs seconds
...
Best
Klaus
Re: Using a variable with seconds
Since this is definitively NOT OFF-TOPIC, I will move this thread to the Beginners section.
-
- Posts: 58
- Joined: Sat Jun 15, 2019 10:09 am
Re: Using a variable with seconds
Hi Klaus
Thanks v much.
You are a fountain of knowledge as ever.
Kind regards
Paul.
Thanks v much.
You are a fountain of knowledge as ever.
Kind regards
Paul.