Home > database >  Control statements OR issues in PB
Control statements OR issues in PB

Time:10-12



Dw_righttop. Object. Ll_type [1], this value, is the D1,
Question: if (dw_righttop. Object. Ll_type [1] <> 'C4) OR (dw_righttop. Object. Ll_type [1] <> 'D1) then I feel value for D1 now, then the code in the IF statement not executed,, but how it is in the execution? Don't understand?

CodePudding user response:

It is only & lt;> C4, I added a condition now, D1, also want to,,, the code is not equal to c4, execute the IF the statement in D1

CodePudding user response:

The duty is D1, to satisfy the first condition, certainly execution. Change and with respect to OK

CodePudding user response:

Or, if the string is not Null, executes the statements inside, if it is Null, are also likely to be executed,

CodePudding user response:

Yes, change and, if the or any value is true

CodePudding user response:

This question is a bit...
Programming the road is bad

CodePudding user response:

Should be the and

CodePudding user response:

Use the OR, on one condition to achieve can perform, should use AND, examine the logic to involved
  • Related