AnsweredAssumed Answered

PDM_IF bitwise-and comparsion

Question asked by cdtj Champion on Feb 3, 2016
Latest reply on Mar 2, 2016 by diogo.nobrega

Hello team!

 

Referring to implementation guide I have found possibility to compare values by bitwise-and (PDM_IF &),

I have tried several times, but haven't found any working condition,

could anyone provide working example?

 

PS: I'm running sdm 12.7 CP2.

 

Regards,

cdtj

HTMPL:
<PDM_IF "2 & 0"><!-- return true -->
<PDM_IF 2 & 2><!-- return false -->

JS:
(2&0) // false;
(2&2) // true

Outcomes