cancel
Showing results for 
Search instead for 
Did you mean: 

*RUN LOGIC question

Former Member
0 Kudos
77

Hi there!

I have in my default logic smth like that:


*INCLUDE LOGIC1
*INCLUDE LOGIC2
*RUNLOGIC
*LOGIC=LOGIC3.LGF
*LOGIC=LOGIC4.LGF
*ENDRUNLOGIC

but in fact if i do that, then nothing works

I wanted to put it like that


*INCLUDE LOGIC1
*INCLUDE LOGIC2
*RUNLOGIC
*LOGIC=LOGIC3.LGF
*ENDRUNLOGIC
*INCLUDE LOGIC4.LGF

But then it does not validate! (which is understandable considering we tell it to stop the logic)

But it works like that:


*INCLUDE LOGIC1
*INCLUDE LOGIC2
*INCLUDE=LOGIC4.LGF
*RUNLOGIC
*LOGIC=LOGIC3.LGF
*ENDRUNLOGIC

The only issue is I really need the logic 4 after the logic 3 and to fire logic3 i need the *RUNLOGIC statement.

What should i do?

Thanks

Edited by: Nicolas Argente on Apr 30, 2009 1:08 PM

Edited by: Nicolas Argente on Apr 30, 2009 1:09 PM

Edited by: Nicolas Argente on Apr 30, 2009 1:09 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

The solution is to add to lines of runlogic

*RUNLOGIC

*LOGIC=logic3.LGF

*ENDRUNLOGIC

*RUNLOGIC

*LOGIC=logic4.LGF

*ENDRUNLOGIC