Try Catch construct

  1. 8 months ago

    Marc

    18 Feb 2019 User since 2018

    It would be nice to have some error handling like Try/Catch/Finalize.

    Or On Error Goto / Label like you had in Visual Basic.

  2. marco

    19 Feb 2019 Administrator User since 2016

    I know that we can do a lot better about error catching but I am not a big fan of the Try/Catch/Finalize constructions... I am exploring the possibility to introduce a better solution even if it is not so easy to find out.

  3. Marc

    19 Feb 2019 User since 2018

    @marco I know that we can do a lot better about error catching but I am not a big fan of the Try/Catch/Finalize constructions... I am exploring the possibility to introduce a better solution even if it is not so easy to find out.

    Try/Catch isn't the most elegant way; it creates extra code blocks. I always found the old "On Error Goto" construct better.

    Maybe some sort of "On Error Closure" would be nice, with some user defined arguments in the closure, so that you know at which point in code the closure was triggered by an error.

  4. 5 months ago

    I'd be happy with any type of error handler..

  5. Deleted 5 months ago by Marc

or Sign Up to reply!