|
-- Like C/Perl "cond ? a : b" operator, done using Lua scripts.
maybe it's obvious, but one difference is that unlike C and Perl, tricond always evaluates both expressions? also, tricond doesn't seem to allow false and nil as the value of either expression?