;

PDA

Click to See Complete Forum and Search --> : ?: conditional


BreakPoint
06-27-2002, 07:37 PM
Conditional Operator
exp1?exp2:exp3

I used

tx1=(tx1==2?0:1);
gives expecting an identfier error.

Is it implemented in KoolMoves? Or am I doing something wrong?

necromanthus
06-27-2002, 08:19 PM
Originally posted by BreakPoint
Conditional Operator
exp1?exp2:exp3
I used
tx1=(tx1==2?0:1);
gives expecting an identfier error.
Is it implemented in KoolMoves? Or am I doing something wrong?


Sorry...not implemented !
There are few "things" not implemented in KM v3.2
Wait a bit for a future release.

Bob Hartzell
06-27-2002, 08:50 PM
It is not implemented yet. Use if .. else instead.