Displaying 1 result from an estimated 1 matches for "singledigit".
2005 Oct 14
1
match a set of numbers in GoToIf against a variable
Hello all,
Okay when you are done laughing at the simplicity of this question could
someone show me please what I have wrong in the following statement?
GoToIf($[${numdial} != [1-9] ]?15:3);
What this is supposed to do is if numdial is not a single digit from 1 to 9
inclusive goto 15, if it is a singledigit from 1 to 9 inclusive goto 3.
Should be pretty simple but not working for me, always goes to 15. from what
I read on the wiki this should work, but obviously I must have read it wrong.
I can get this to work:
exten => 1,2, GoToIf($[${numdial} = 1 ]?15:3);
exten => 1,3, GoToIf($[${numdial...