Dear Radimus,

A good idea. In some other languages we have such capability.
It will reduce the requirement of additional code for abnormal
situations. Specially when scripts aborts.

Our suggestion is to extend your OnError function
with the capability to execute a piece of kixtart script
f.e.
  • OnError(exit @error)
  • OnError(MessageBox("Script abort with error @error (@serror)","KiXtart @scriptname"))
  • $message='MessageBox("Script abort with error @error (@serror)","KiXtart @scriptname")'
    OnError(Execute($message) Exit @error)
greetings.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA