Details of an example process with several commands

A useful process consists of several commands included to provide a specific function. Some processes are quite complex with numerous commands.

This example process tests for the existence of the file C:\ecedigs25\ecedigs.exe. If the file exists, the process branches to a message reporting that the file exists. If the file does not exist, the process displays a failure message. This process uses six commands. The Assign command places the full path name of the file in the variable FileName-1. The FileExists command tests for the existence of the file named in a FileName variable. The IfThenElse command provides the branching with a success result branching to the SUCCESS display. A failure branches to the FAILED display. The two labels, SUCCESS and FAILURE, are needed for the branching logic. The Return command prevents the display of a FAILED message after a SUCCESS message by forcing termination of the process execution.