When I try to do:
I get the error "Lvalue required as left operand of assignment".Code:access_type > 0 ? modified = 1: modified = 0;
I tried to follow the standard form: (a > b) ? (c = x ) : (c = y). Not sure why it's not working.
Thanks
When I try to do:
I get the error "Lvalue required as left operand of assignment".Code:access_type > 0 ? modified = 1: modified = 0;
I tried to follow the standard form: (a > b) ? (c = x ) : (c = y). Not sure why it's not working.
Thanks
Try:Code:c = (test) ? true value : false value;
Quzah.
Hope is the first step on the road to disappointment.
Ah, thanks.