focustedit:

Format:

focustedit: Rx, name

focustedit: will draw the edit field on the screen and wait for input. If Rx contains some text, this text will be printed on the screen when the widget is drawn. focustedit: returns if either the Enter or Tab key is pressed and the edited text will be placed into Rx.

The standard editing keys are supported: Home, End, Left, Right, Insert, Delete and Backspace. The Enter and Tab key exit the edit field.

Parameters:

Rx: The text of the edit field. If Rx contains data when focustedit: is called, the text will be printed to the screen. When focustedit: returns, the modified data will be placed in Rx.
name: The name of the edit field.