Subprogram

Description

Invokes a subprogram: a separate file with an algorithm constructed in the 'devTool'.

The 'Error' branch is implemented to add some additional logic if an exception has occurred inside the subprogram.

Parameters

Subprogram path

Enables you to manually write the subprogram path or choose it via the file explorer.

Comment

Contains an annotation to the block. The input text will be displayed inside the block above the function name.

Usage Examples

Using the function is an example of following the common best practices in programming. A project may be split into several pieces - subprograms - which you will invoke in the main file in accordance with the project logic. This helps you build a more flexible, scalable, and readable algorithm.