I discovered an error in the lua documentation for nwwcut.askbox:
http://lua.noteworthycomposer.com/nwcut.html##(nwcut).askbox (http://lua.noteworthycomposer.com/nwcut.html##(nwcut).askbox)
The return value seems to be 1 for Yes and 0 for No
The flags work as mentioned : 1 for Yes (default), and 2 for No
Confirmed. No returns zero
Sample User Tool:
nwcut.warn(nwcut.askbox('','',2))
Thanks for the report. This has been updated with correct info.
I don't see any correction yet
Are you looking at a cached copy?
Indeed I was. After erasing the cashed copies I got
Thanks, I should erase my cache more often...