In this lesson, you have learned that the control methods are buffered in an Automation Queue. Basically, the queue has the following properties:
The last two points are important for determining the correct flush time and reusing variables that are used as actual parameters:
Essential Synchronization Before Exiting Subroutines
Type of storage in Automation Queue: |
Local variable in subroutine or Pass by value() |
Global variable in subroutine or Pass by reference |
As value |
Flush not absolutely required. |
Flush not absolutely required. |
As reference |
Flush absolutely required before subroutine is exited and before EXIT. |
Flush not absolutely required. |