|
||
void pm_integer ( char *message, int *value, int mandatory )
char *message; // prompt string int *value; // address of int to receive result int mandatory; // mandatory entry flag
|
|
|
Synopsis |
#include "silver.h"
The pm_integer function adds a prompt for an integer value to the current panel, with prompt specified by message . If mandatory is 1, a value must be entered for the item. If mandatory is 0, then the initial value can be accepted without change. After pm_execute , the resulting value is returned in value .
|
|
Parameters |
message is a null-terminated string containing the prompt message. value is the address of an integer that is to receive the result of the prompt. mandatory is an integer specifying whether entry for this field is mandatory or not.
|
|
Return Value |
none.
|
|
See Also |
|
|
|
|