Product data

USRobotics
Command Reference
Syntax and Procedures - 7
<value> consists of either a numeric constant or a string constant.
Numeric Constants
Numeric constants are expressed in decimal, hexadecimal, or binary.
Decimal numeric constants consist of a sequence of one or more of the
characters "0" through "9", inclusive.
Hexadecimal numeric constants consist of a sequence of one or more of the
characters "0" through "9", inclusive, and "A" through "F" inclusive. The characters
"A" through "F" represent the equivalent decimal values 10 through 15.
Binary numeric constants consist of a sequence of one or more of the characters
"0" and "1".
In all numeric constants, the most significant digit is specified first. Leading "0"
characters are ignored by the modem. No spaces, hyphens, periods, commas,
parentheses, or other generally-accepted numeric formatting characters are
permitted in numeric constants; note in particular that no "H" suffix is appended to
the end of hexadecimal constants.
String Constants
String constants consist of a sequence of displayable IA5 characters, each in the
range from 2/0 to 7/15, inclusive, except for the characters '"' (IA5 2/2) and "\" (IA5
5/12). String constants are bounded at the beginning and end by the double-quote
character ('"', IA5 2/2).
Any character value may be included in the string by representing it as a
backslash ("\") character followed by two hexadecimal digits. For example, "\0D"
is a string consisting of the single character <CR> (IA5 0/13). If the "\" character
itself is to be represented in a string, it is encoded as "\5C". The double-quote
character, used as the beginning and ending string delimiter, is represented within
a string constant as "\22".
A "null" string constant, or a string constant of zero length, is represented by two
adjacent delimiters ("").
Compound Values
Actions may have more than one subparameter associated with them, and
parameters may have more than one value. These are known as "compound
values", and their treatment is the same in both actions and parameters.
A compound value consists of any combination of numeric and string values (as
defined in the description of the action or parameter). The comma character must
be included as a separator, before the second and all subsequent values in the
compound value. If a value is not specified (i.e., defaults assumed), the required
comma separator must be specified; however, trailing comma characters may be
omitted if all associated values are also omitted.