Total JS/Boolean confusion

Okay, why dosn't this work. Does JS support booleans? And I doing something wrong?

    set("myDodgeFlg ",false);
    set("foe1DodgeFlg",false);
    set("foe2DodgeFlg",false);
    set("foe3DodgeFlg",false);
    
        set("MAIN-MY DODGE FLAG>>>>",get("myDodgeFlg"));   ///TTD============
        if (get("myDodgeFlg")==false){set("MAIN-TEST>>>>", "FALSE");}
        if (get("myDodgeFlg")==true){set("MAIN-TEST>>>>", "TRUE");}

When I run this, MAIN-MY DODGE FLAG = null. And neither of the logical path's get exercised.


Never mind. After looking at this for an hour, then posting this, I suddenly saw the blank in the set line.

I mean, *(#$)@#$#.


Log in to post a reply.

Support

Forums