Gets digits from a channel. You can specify how many digits, terminating digits, maximum time etc..
[Visual Basic] Public Shared Function GetDigits( _ ByVal chdev As Integer, _ ByVal MaxDigits As Integer, _ ByVal MaxTime As Integer, _ ByVal IDDTimeout As Integer, _ ByVal TermDigits As String, _ ByRef buffer As String, _ ByVal ClearDigitBuffer As Integer _ ) As TermCode
The maximum number of digits the user can enter before returning.
MaxTime
The maximun number of seconds the user is allowed to enter the digits.
IDDTimeout
The maximum number of seconds the user has between each digit entered
TermDigits
This is a string of digits that will terminate the entry. Valid digits are 1-9 and the # and * key. For example, if you wished to terminate on the 1 key and the # key, send the string "1#" .
buffer
The function will return the digits to this buffer.
ClearDigitBuffer
1=TRUE or 0=FALSE. If true, any digits sitting in the board’s digit buffer are cleared before getting the new digits.