XPS Unified Programmer’s Manual
9.0 Process Examples
This section provides examples of programming sequences. The next diagrams show
the order of use of the different Functions. To see programming code examples, please
refer to the TCL Manual for TCL scripts.
9.1 Management of Errors Example
When an error occurs, it is desirable to analyze and fix the error. The following error
display and socket closing procedure is useful to detect and display the errors during the
execution of a program. This sequence could be added to each program and called each
time users need to test certain parts of a program.
Display error and close procedure: