Did you know that its possible to assign a variables value in a function where the parameters belongs to? I know its common practice at other programming languages and discoverd it as i just tried it out.
I guess its new since Mono is in use but wonder if even Lindens do know about that feature yet. ^^
Example:
CODE
string gText = "this text will never show up";
default
{
state_entry()
{
llOwnerSay(gText="but this text will); // assigning a new text to a variable and using it the same time
}
}CODE
I know that post and pre increments works within functions, also calculations (without assigning) but this was new and i've never seen this used at any script or the LSL Wiki.
To know this might help to reduce line of codes allthough i believe there are not many situations for that.