std-inp-edit-string | ![]() |
Edit a single one-lined string in a GUI dialog and return the edited string.
This is done by creating a temporary text element and use command DDEDIT then.
msg: a string to be displayed as a prompt.
def: default string or nil
A string, either the given input or the changed or unchanged default value.
Interrupts the program flow, prints the formatted message, creates a temp. tetx entity out of sight, calls the command DDEDIT, waits for user input and deletes the temp entity.
(std-require 'STDINPUT)
Defined in STDINPUT