| Description | |||||||||||
| Reads an integer from the keyboard. If the user types an invalid string, or a value outside the range of values, the function asks the user to enter the value again. Specify default values in the call to ProMessageDisplay(), using the separator ||| in the format string in the message file. (See the Creo Parametric TOOLKIT User's Guide section Contents of the Message File for the specific placement of the ||| separator.)
NOTE:Call ProMessageDisplay before calling this function. |
|||||||||||
| Replacement in Object TOOLKIT: | pfcSession::UIReadIntMessage | ||||||||||
| Synopsis | |||||||||||
| #include <ProMessage.h> | |||||||||||
| ProError | ProMessageIntegerRead | ( | |||||||||
| int range[2] | |||||||||||
| /* (In) | |||||||||||
| The lower and upper bounds allowed for the input. If this is NULL, any values are acceptable. | |||||||||||
| */ | |||||||||||
| int* answer | |||||||||||
| /* (Out) | |||||||||||
| The user's input. | |||||||||||
| */ | |||||||||||
| ) | |||||||||||
| Returns | |||||||||||
|
|||||||||||