Associated Commands

Scriptable commands generally perform the same actions as manual program controls, with some exceptions. As examples, there are no manual controls to chart, log, or email. These are examples of scriptable functions with no manual means of activation.

Regardless of whether a scriptable action can be performed manually or not, many (most) program actions are shaped by global variables. For example, communications is directed to a destination address reflected in the IP global variable. Logging actions are written to a file determined by the LogFilename global variable, or when not present the IP global variable. Every script command is defined by a page in this help guide which will define the global variables that shape it's function.

Commands can be placed in script which perform their individual defined action using the current values of whatever global variables shape it's function. However, the Right Click menu on each command typically provides the option of adding an Assign command for any such variable to the command. Commands added as Associated Commands function identically to manually inserted Assign commands. However, when added as Associated commands behavior differs in only 3 ways.

Associated command behavior is provided as a shortcut for setting any global variable that shapes a command that is not intended to merely use it's current value. The associated command indications and linkages are further intended as both indication and protection from unintentional separation from it's linked command during script program creation, testing, or later editing. The associated command linkages are maintained when scripts are saved or later reloaded.

When Single Stepping associated commands are executed individually just like any other command. As such, it is possible to manually alter the value of most global variables at any time up to the point of the linked command's execution. This would be done using the variable viewer panel.

© 2014 ComroeStudios LLC. All Rights Reserved.