cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
291
Views
0
Helpful
2
Replies
windmiller
Beginner

Understanding getDigits==

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

2 REPLIES 2
William Bell
Advisor

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)

HTH -Bill (b) http://ucguerrilla.com (t) @ucguerrilla

Please remember to rate helpful responses and identify

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

Content for Community-Ad

Spotlight Awards 2021