Regular API function

simGetDialogInput / sim.getDialogInput

Description Deprecated. See simUI.msgBox or simUI.inputDialog instead.
C/C++
synopsis
char* simGetDialogInput(int genericDialogHandle)
C/C++
parameters
genericDialogHandle: handle of the generic dialog
C/C++
return value
Pointer to a text buffer or nullptr in case of an error. The user is in charge of releasing the returned string with simReleaseBuffer.
Lua
synopsis
string input=sim.getDialogInput(int genericDialogHandle)
Lua
parameters
Similar to the C-function counterpart
Lua
return values
Similar to the C-function counterpart