4.4.2 SubProgram
The [SubProgram] command allows you to create a subprogram, which is also known as subproject. It is often used in conjunction with the [Call] node.
Characteristics of subprogram:
The subprogram can be either a control program or a controlled program.
The data contained in the subprogram only represents the information present when the subprogram is activated within the master program.
The subprogram can be called and run at multiple positions within multiple programs through the [Call] node.
When subprogram is called, you need to write a program in [SubProgram] node, or tap to load the written program, and then use the [Call] node to call the subprogram.
Settings
: You can rename the subprogram in master program here.
: You can load the program file here.
Save as: You can save the subprogram as a separate file in the disk.
Clear: You can clear the open files within the subprogram.
Keep SubProgram Files Updated with this Program: Once checked, changes in the open subprogram will be automatically saved to the subprogram file.
This option is only available in a subprogram that has been saved as a file.