cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
503
Views
0
Helpful
2
Replies

Understanding getDigits==

windmiller
Level 1
Level 1

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
VIP Alumni
VIP Alumni

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: