Nested TRY statements

It is possible to nest TRY statements within other TRY statements. If an error occurs, it will be handled by the innermost TRY statement that encompasses the offending line of code. This allows general error-handling blocks to be created for large sections of code, while more specific error handlers can be used for important subsections of code.

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.