Difference between revisions of "Talk:LSL Operators"

From Second Life Wiki
Jump to navigation Jump to search
m (Signed my note (oops!))
Line 2: Line 2:


I've added a note about the precedence of '''||''' over '''&&''', and changed their positions in the table; it would be good if someone could test the rest to see if there are any other gotchas (or if, perhaps, a knowledgeable Linden could pop in here and straighten in out). I did this one as I ran into it. [[User:Siann Beck|Siann Beck]] 05:38, 6 October 2007 (PDT)
I've added a note about the precedence of '''||''' over '''&&''', and changed their positions in the table; it would be good if someone could test the rest to see if there are any other gotchas (or if, perhaps, a knowledgeable Linden could pop in here and straighten in out). I did this one as I ran into it. [[User:Siann Beck|Siann Beck]] 05:38, 6 October 2007 (PDT)
I've been having problems right shifting negative integers and have created a function for [[Right Shift]] to bypass the >> operator and shift the signed bit. --[[User:Dedric Mauriac|Dedric Mauriac]] 02:10, 3 February 2008 (PST)

Revision as of 02:10, 3 February 2008

Operator Precedence

I've added a note about the precedence of || over &&, and changed their positions in the table; it would be good if someone could test the rest to see if there are any other gotchas (or if, perhaps, a knowledgeable Linden could pop in here and straighten in out). I did this one as I ran into it. Siann Beck 05:38, 6 October 2007 (PDT)

I've been having problems right shifting negative integers and have created a function for Right Shift to bypass the >> operator and shift the signed bit. --Dedric Mauriac 02:10, 3 February 2008 (PST)