|
||
void pm_double ( char *message, double *value, int mandatory )
char *message; // prompt string double *value; // address of double to receive result int mandatory; // mandatory entry flag
|
|
|||
Synopsis |
#include "silver.h"
The pm_double function adds a prompt for a double 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 a double 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.
|
|
||
Comments |
The initial value for the field is the initial value of the double pointed to by value .
|
|
||
See Also |
pm_execute, pm_integer, pm_text, pm_xyz
|
|
||
Example |
|
|
||
|
|