Welcome to the #dominoforever Product Ideas Lab! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated jointly by the IBM & HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.

For more information and upcoming events around #dominoforever, please visit our Destination Domino page.


Error handling: try.. catch java-style error handling in Lotusscript

Even javascript has this!

java/javascript is like this:

try {

   some lines of code...

   some code that erros

} catch(error) {

   deal with error

}

 

With new Try Catch End Try block, Lotusscript could be ..

Try

   Do this

   Do that

   Do another

Catch <errornumber optional>

   Do something with Error$, Erl etc

End Try

 

- can be nested

- no resume required

- easier to write code which looks after itself

 

 

I would celebrate with an ice cream.

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Jul 19 2018
  • Attach files
  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    July 24, 2018 06:40

    If I am given 1 dollar every time that I need this functionality, I would be rich by now :D