Example

Last Updated : Sep 08, 2012 |
  1. Use A as a global collect type variable.

  2. Define Z as a local collect type variable. Use Z as the scratch pad variable to get the current value of A. You can use Z to test the value obtained from A later in the vector.

  3. Use the following command at the beginning of the call processing vector program:

    set Z = A ADD none

  4. Use the following command when the testing the value of A is required later in the vector:

    goto step 20 if Z = 123

If you modify the value of a global variable, complete the manipulation of the global variable within 15 steps. This is due to vector operation that temporarily suspends vector processing for 1.0 seconds after processing 15 steps under certain conditions. Therefore, the time period during which the value of a global variable changes can be greater than expected since the value can change during the real-time break.