qwemx Member Q Join Date Jul 2017 Location Earth Posts 195 Oct 18, 2019 #1 in the scl code written in screenshot Line 1 condition is false but still the program checking the line 2 condition and says it is true i had this understanding that if the condition is not true then the program will skip line 2 Last edited: Oct 18, 2019
in the scl code written in screenshot Line 1 condition is false but still the program checking the line 2 condition and says it is true i had this understanding that if the condition is not true then the program will skip line 2
Thomas_v2 Member T Join Date Apr 2009 Location Ger Posts 519 Oct 18, 2019 #2 I presume the status values are from the previous cycle where the first if-condition was true and so the second was processed. To indicate this, the status values are grey instead of black.
I presume the status values are from the previous cycle where the first if-condition was true and so the second was processed. To indicate this, the status values are grey instead of black.
janner_10 Lifetime Supporting Member J Join Date Dec 2014 Location Tewkesbury Posts 1,301 Oct 18, 2019 #3 Also you can write: If MyBool1 and NOT MyBool2 etc Makes it easier to follow for boolean evaluation, you dont need the '=1'
Also you can write: If MyBool1 and NOT MyBool2 etc Makes it easier to follow for boolean evaluation, you dont need the '=1'
qwemx Member OP Q Join Date Jul 2017 Location Earth Posts 195 Oct 19, 2019 #4 Thomas_v2 said: I presume the status values are from the previous cycle where the first if-condition was true and so the second was processed. To indicate this, the status values are grey instead of black. Click to expand... Yes i think that is correct , if it was true in black then the montime will be updated to 25000 but it is not updated but this is confusing the condition is not true at the moment then instead of showing true in grey should be showing false in black
Thomas_v2 said: I presume the status values are from the previous cycle where the first if-condition was true and so the second was processed. To indicate this, the status values are grey instead of black. Click to expand... Yes i think that is correct , if it was true in black then the montime will be updated to 25000 but it is not updated but this is confusing the condition is not true at the moment then instead of showing true in grey should be showing false in black