Conditionals

From Second Life Wiki
Revision as of 17:49, 5 September 2008 by Kaluura Boa (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

C style conditionals would also be useful, i.e.

<lsl>llSay(1, "This is " + (a == 0) ? "false" : "true");</lsl>

Easy to implement in the compiler, no changes to the bytecode needed. Strife Onizuka 02:52, 8 April 2007 (PDT)