A-61635 December 2010
4-25
#[min, max)
— used to specify a value that is
greater than or equal
to min
and
less than
max.
Examples
n[-100, 100)
Description
— any number
greater than or equal
to –100 and
less than
100
Valid input examples
-100
-99.9
99.9999
Invalid input examples
-100.1
too small, must be greater than –100
100
too large, must be less than 100
#[min, max]
— used to specify a value that is
greater than or equal
to min
and
less than or equal
to max.
Examples
n[-100, 100]
Description
— any integer number
greater than or equal
to –100 and
less
than or equal
to 100
Valid input examples
-100
0
100
Invalid input examples
-100.1
too small, must be greater or equal to –100
100.001
too large, must be less than or equal to 100
i[100, *
)
Description
— any integer number greater than or equal to 100
Valid input examples
100
1000
Invalid input examples
99
too small, must be greater than or equal to 100
100.5
integer values cannot have a decimal point
i(-1.0, +1.0
)
Description
— this is an invalid input format because the min and max are not
integer values as the “i” specifies.
n(+1.0, -1.0)
Description
— this is an invalid input format because max is less than min.