08-30-2013 09:44 AM - edited 03-14-2019 12:20 PM
I'm trying to understand the getDigits line in a scipt.
If (getDigits == "9") then
I was always under the impression that getDigits was looking for a key press of that number, so in the example below if 5 was pressed it would go to Redirect. But in the case above it doesnt seem to be a keypress so in the example above does this represent 9 seconds?
example: getDigits=5 then Redirect
08-30-2013 09:47 AM
Taken out of context I would say that a line like:
if (getDigits == "9") then
Means that there is a string variable in the script that is collecting digits for later evaluation.
HTH
-Bill (@ucguerrilla)
Please remember to rate helpful responses and identify
08-30-2013 10:21 AM
Hopefully this will help, what I'm trying to understand is getDigits==9 in the Timeout piece. I like to understand what is happening on the caller side to get to the set = redirectNumber = pager
Whether its a certain keypress like 9, or if its 9 random keypresses or 9 seconds, etc. Thanks for any ideas!
the
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide