Dexterity has predefined constants for several maximum and minimum numeric values. These constants are listed in the following table.
Constant |
Value |
Description |
---|---|---|
MINTINY |
0 |
The smallest tiny integer |
MAXTINY |
255 |
The largest tiny integer |
MININT |
-32768 |
The smallest integer |
MAXINT |
32767 |
The largest integer |
MINLONG |
-214748348 |
The smallest long integer |
MAXLONG |
2147483647 |
The largest long integer |
Constants are available for individual characters. For example, CH_D is a constant representing the string “D”. The constant CH_h is a constant representing the string “h”. These individual character constants are available for all alphanumeric US characters, 0-9, a-z, and A-Z.
Dexterity also has several predefined constants that are used for various functions, statements and procedures. These constants are listed with each statement or function they are used with. The constants used with the ask() function are shown in the examples in the next section.