Difference between revisions of "Conditionals"

From Second Life Wiki
Jump to navigation Jump to search
 
Line 2: Line 2:


llSay(1, "This is " + (a == 0) ? "false" : "true");
llSay(1, "This is " + (a == 0) ? "false" : "true");
:Easy to implement in the compiler, no changes to the bytecode needed.

Revision as of 02:48, 8 April 2007

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

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

Easy to implement in the compiler, no changes to the bytecode needed.