inputstr <character variable>,<character string>,<number>,{0,1}(,<number>,<number>,<number>,<number>)

Creates an input dialog that captures all input to the character variable.
The character string serves as the dialog message text.
The first number is the max input length, the second (0 or 1) determines whether the user is forced to enter 2-byte characters or not, and the last 4 may be omitted, but in order they are (window size x), (window size y), (text input window size x), (text input window size y).