A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: ?: conditional

  1. #1
    Junior Member
    Join Date
    May 2002
    Posts
    26
    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?


  2. #2
    undead creature necromanthus's Avatar
    Join Date
    Feb 2002
    Location
    ROM
    Posts
    1,890
    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.

  3. #3
    Senior Member
    Join Date
    Jun 2000
    Posts
    3,512
    It is not implemented yet. Use if .. else instead.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center