Flexing the limits of a variable

 
Just wondering if this would pose a problem, as it compiles, but I don't believe it will work.
string BuyOrSell = "Both";
int intOrderType;
if(BuyOrSell == "Both") intOrderType = OP_BUY || OP_SELL;
 
Won't OP_BUY || OP_SELL give a bool ?
 
That's what I am unsure of. Basically, if you assign OP_BUY to an integer it should be 0 (if I remember right) and OP_SELL should be 1. But with the "||" statement I have no idea how that would work. I already scrapped the code, but it was an interesting thought lol
 
Well true and false have int equivalents, 1 and 0, so OP_BUY || OP_SELL would give true or 1 . . I think.
Reason: