Sends a string prompt to the specified screen.
#include <screen.h> char *PromptForString ( scr_t scr, size_t length, size_t editWidth, char *string, int hasDefaultValue, const char *defaultValue, int linesToProtect, void *promptText );
(IN) Specifies the screen that receives the prompt.
(IN) Specifies the maximum length of the string in the response.
(IN) Specifies, in bytes, the width of the display box for the response.
(OUT) Points to the user's response to the prompt.
(IN) Specifies whether the prompt has a default value with one of the following:
(IN) Points to the default value. If hasDefaultValue is set to FALSE, this parameter can be NULL.
(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) Points to the text contain the question that users must answer with a string.
Returns the response string from the user.
The PromptForString function is not a NetWare OS function. It is only available from LibC.