Difference between revisions of "Talk:Conditionals"

From Second Life Wiki
Jump to navigation Jump to search
(New page: Not so important, actually. This style makes for less readable code. I'd rather see "case" conditional added before C style conditionals.)
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Not so important, actually. This style makes for less readable code. I'd rather see "case" conditional added before C style conditionals.
Not so important, actually. This style makes for less readable code. I'd rather see "case" conditional added before C style conditionals. --[[User:Clang Bailey|Clang Bailey]] 16:48, 19 December 2007 (PST)
 
You can already do such a thing with regular LSL:
<lsl>llSay(1, "This is " + llList2String(["false", "true"], (a == 0)) );</lsl>
--[[User:Kaluura Boa|Kaluura Boa]]
 
:Your workaround is very expensive (it requires a lot of bytecode). To implement the request is actually quite easy. -- '''[[User:Strife_Onizuka|Strife]]''' <sup><small>([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])</small></sup> 12:41, 6 September 2008 (PDT)

Latest revision as of 11:41, 6 September 2008

Not so important, actually. This style makes for less readable code. I'd rather see "case" conditional added before C style conditionals. --Clang Bailey 16:48, 19 December 2007 (PST)

You can already do such a thing with regular LSL: <lsl>llSay(1, "This is " + llList2String(["false", "true"], (a == 0)) );</lsl> --Kaluura Boa

Your workaround is very expensive (it requires a lot of bytecode). To implement the request is actually quite easy. -- Strife (talk|contribs) 12:41, 6 September 2008 (PDT)