Announcement

Collapse
No announcement yet.

Inline if does not work on return statement

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Inline if does not work on return statement

    I tried this type of code and got very strange behavior.
    func GetColorForTemp(var t, var cc, var hc, var nc) return (t >= 32) ? hc : (t= 32) return hc; else if ( t

  • #2


    yes thank you for pointing that out. It is a bug.
    Compiler is not handling the nested ternary.
    It is now on the compiler upgrade list.
    Regards,
    Dave

    Comment

    Working...
    X