Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Collect Digits - Different Lengths

Status
Not open for further replies.

Jer1983

Technical User
Nov 30, 2016
12
0
0
US
Hi, is it possible to collect different digit lengths.

Example, ticket numbers can be either 5 or 7 digits long... is there a command similar to 'collect X digits after announcement xxxxx for A'
 
Just tell them to press # when they're done so they dont wait for a digit timeout.

I suppose if your 5 digit ticket numbers were in the 4xxxx and your 7 digit ticket numbers always had as leading 2 digits either month or day and would always be 1-12 or 1-31, you could be crafty in your vectors like collect 5 digit for A. If A >12999 you know its a 5 digit ticket, else, collect 2 digit for B, CATR A+B = C = 7 digit ticket#

Or, just tell them to press #!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top