Under normal circumstances, each line of the try code block is executed in turn. If, at any time an error occurs, the flow jumps to the catch block of code, and this code is executed in order to handle the error. If a finally block of code is present, it will be executed at the very end, independently of any normal, or error, processing. The finally section can be omitted. Commands Commands can be used as expression elements.
Commands are either built-in commands or extended commands.
When the Plangent interpreter is moving through a script definition, and it finds a command, it looks up each extended and built-in command in turn and passes them whatever arguments they need before executing them. The return value of a built-in command does not have an explicit reference. Built-in Commands 12.2 Extended Commands Extended commands are command definitions that are written by the user in the Java programming language. When an extended command is written, the implementation of either the PlangentCommand or PlangentCommandWithAgentResources interfaces is assumed. There are three execute methods that take the following arguments.