Skip to main content

Foundation: How to use Exceptions in ProcScript

  • Jul 5, 2022 8:11 AM UTC
  • 0 replies
  • 17 views

Jason Huggins
Forum|alt.badge.img

Uniface versions prior to 10.4.02 support error handling using the classic method, which requires you to explicitly check $procerror for a negative value immediately after every significant ProcScript instruction. If you don't do this, errors are ignored and code execution continues.

A new way of dealing with runtime errors has been introduced to help you write more robust and maintainable code, capturing potential errors earlier in the development process. This example shows you exception handling in practice.