InputRequester()
Syntax
Text$ = InputRequester(Message$, DefaultText$)Description
Opens a blocking input requester to enter some text.
Parameters
Message$ Message displayed before the input field. DefaultText$ Default text in the input field.
Return value
Returns the text in the input field, or an empty string if the requester has been closed without hitting the "OK" button.
Example
Input$ = InputRequester("Please make your input:", "I'm the default input.") If Input$ > "" a$ = "You entered in the requester:" + Chr(10) ; Chr(10) only needed a$ + Input$ ; for line-feed Else a$ = "The requester was canceled or there was nothing entered." EndIf Debug a$
Supported OS
All