Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Exception handling of running functions in a dialog
#4
@Kevin

About use err block:

1.If err+ is added to the end, there is no popup message box at runtime

2.It would be great if add an option to the function err( can log the error message and the line number of the command where the error occurred.), for example:

err-
code
err+ "$desktop$\err_logo.txt"

Function func3
Code:
Copy      Help
err-
run "abc" "" "" "" 0x100
int w=wait(30 WA win("" "Notepad"))
act w
;err+ ;;run ok
MES m.timeout=3; m.style="OCa"; m.default='C'
mes("There are already 3 lines of commands skipped above" "" m)
err+ ;;run not ok


Messages In This Thread
RE: Exception handling of running functions in a dialog - by win - 06-29-2019, 10:38 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)