|
Contents | Previous | Next | Subchapters |
| Syntax |
errordlg(msg)msg, callback)msg, topic, file) |
| See Also | adddialog |
easydlg function which is documented
in its own winhelp file (see File | Help | Easydlg).
function DeepCall(arg1, arg2, arg3) begin
narg = arg(0)
if narg <> 3 then begin
msg = ["Only ", ntoa(narg), " arguments to DeepCall"]
errordlg(msg)
end
print arg1, arg2, arg3
end
DeepCall("One", "Two")
O-Matrix will abort execution before the statement
print arg1, arg2, arg3
and post an error dialog with the message
Only 2 arguments to DeepCall