Difference between revisions of "Conditionals"
Jump to navigation
Jump to search
m (lsl code tagging) |
Kaluura Boa (talk | contribs) m |
||
Line 1: | Line 1: | ||
C style conditionals would also be useful, i.e. | C style conditionals would also be useful, i.e. | ||
<lsl>llSay(1, "This is " + (a == 0) ? "false" : "true");<lsl> | <lsl>llSay(1, "This is " + (a == 0) ? "false" : "true");</lsl> | ||
:Easy to implement in the compiler, no changes to the bytecode needed. [[User:Strife Onizuka|Strife Onizuka]] 02:52, 8 April 2007 (PDT) | :Easy to implement in the compiler, no changes to the bytecode needed. [[User:Strife Onizuka|Strife Onizuka]] 02:52, 8 April 2007 (PDT) |
Revision as of 17:48, 5 September 2008
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)