How to Stop a LOGIC START Correctly on PIOE

print

Create a main object (example: [OBJECT_WRAPPER]), the LOGIC START will be called from this object.
 
Example:
 
 //Main Object
[OBJECT_WRAPPER] OBJECT
    CONDITION
        ACTION
            [LOGIC_FIND_LINE] ;   //iterate through the rows until find the expected  line
          
[LOGIC_FIND_LINE] LOGIC START [OBJECT_FIND_LINE] REPEAT [VARIABLE_NUMBER_OF_LINES];
 
 
//Find line
[OBJECT_FIND_LINE] OBJECT
    CONDITION   
        TEST
           [TEST_LINE]    //Any Test    
       ACTION
           [EXTRACT_LINE]       //get the expected i
nformation
           AND [LOGIC_STOP_SEARCH]   //Stop loop            
        
;
 
//Stop loop
[LOGIC_STOP_SEARCH]  LOGIC STOP [OBJECT_WRAPPER];
 
The loop ends the iterations on the [OBJECT_FIND_LINE] when the condition is satisfied. Please note that the LOGIC STOP; stop the Main object [OBJECT_WRAPPER] instead of the object that is being iterated [OBJECT_FIND_LINE].

 

UPDATED: March 23, 2017

Contact Us