Regular API function

simMsgBox / sim.msgBox

Description Opens a modal message box for interaction with the user. See also sim.fileDialog and sim.displayDialog
C synopsis simInt simMsgBox(simInt dlgType,simInt buttons,const simChar* title,const simChar* message)
C parameters
dlgType: the message box type.
buttons: the buttons to display.
title: title of the dialog
message: the message to display
C return value
Lua synopsis number returnValue=sim.msgBox(number dlgType,number buttons,string title,string message)
Lua parameters
Same as C-function
Lua return values
Same as C-function

All regular API functions on one page