Am 20.11.2016 um 02:58 schrieb Mike Horvath:
> Can I make a feature request?
>
> It might be nice to have shorthand conditional statements that take the
> form of
>
> #local r = r > 0.5 ? r - 0.055 : 12.92 * r;
Such a conditional statement is already supported. For some strange
reason, such expressions have to be included in parentheses though:
#local r = (r > 0.5 ? r - 0.055 : 12.92 * r);
Post a reply to this message
|