It seems like this line SimpleDialog() causes this problem:
Code: Select all
[string "lolua: embedded Lua code"]:4: bad argument #1 to 'for iterator' (table expected, got nil)
Code: Select all
LM.GUI.Alert(LM.GUI.ALERT_WARNING, "this alert shows before error", nil, nil, "OK")
local dialog = LM.GUI.SimpleDialog()
LM.GUI.Alert(LM.GUI.ALERT_WARNING, "this does not show at all", nil, nil, "OK")
What can I do?
This part of the software is supposed to create and display a dialog box where the user can enter some values.
I have searched online, on this forum, restarted MOHO several times, tried the script on different documents.
Nothing works.