diff options
Diffstat (limited to 'LuaSL/src')
-rw-r--r-- | LuaSL/src/LuaSL_LSL_tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LuaSL/src/LuaSL_LSL_tree.c b/LuaSL/src/LuaSL_LSL_tree.c index 98a03e7..5a082bd 100644 --- a/LuaSL/src/LuaSL_LSL_tree.c +++ b/LuaSL/src/LuaSL_LSL_tree.c | |||
@@ -419,7 +419,7 @@ Any binary operation involving a float and an integer implicitly casts the integ | |||
419 | A boolean operation deals with TRUE (1) and FALSE (0). Any non zero value is a TRUE (generally sigh). | 419 | A boolean operation deals with TRUE (1) and FALSE (0). Any non zero value is a TRUE (generally sigh). |
420 | Bitwise operations only apply to integers. The shifts are arithmatic, not logical. Right shifted bits are dropped, left shifts the sign bit. | 420 | Bitwise operations only apply to integers. The shifts are arithmatic, not logical. Right shifted bits are dropped, left shifts the sign bit. |
421 | 421 | ||
422 | integer = integer0 % integer1; // Apparently only applies to integers. | 422 | integer = integer0 % integer1; // Apparently only applies to integers, but works fine on floats in OS. |
423 | string = string0 + string1; // Concatenation. | 423 | string = string0 + string1; // Concatenation. |
424 | list = list0 + list1; // Concatenation. Also works if either is not a list, it's promoted to a list first. | 424 | list = list0 + list1; // Concatenation. Also works if either is not a list, it's promoted to a list first. |
425 | list = (list=[]) + list + ["new_item"]; // Voodoo needed for old LSL, works in Mono but not needed, does not work in OS. Works for strings to. | 425 | list = (list=[]) + list + ["new_item"]; // Voodoo needed for old LSL, works in Mono but not needed, does not work in OS. Works for strings to. |