Sends a prompt for a number to the specified screen.
#include <screen.h> int PromptForUnsignedNumber ( scr_t scrID, uint32_t *result, uint32_t minValue, uint32_t maxValue, int base, int linesToProtect, uint8_t hasDefaultValue, uint32_t defaultValue, const char *promptText, ... );
(IN) Specifies the screen that receives the prompt.
(OUT) Points to the value that the user entered.
(IN) Specifies the minimum value.
(IN) Specifies the maximum value.
(IN) Specifies the type of number:
(IN) Specifies the number of lines that have to be protected from the current input row upwards. Thus, if linesToProtect is 2 and the current input row number is 4, rows 3 and 4 have to protected.
(IN) Specifies whether a default value exists:
(IN) Specifies the default value for this prompt.
(IN) Points to the text that contains a question that the user must answer with a number.
(IN) Points to an argument for a printf conversion specifier. The number of arguments is determined by the promptText string.
If successful, returns 0.