A statement is a line of code
that is terminated by a semicolon
. All statements in a program are separated from one another by semicolons (the compiler
). These rules make up LSL syntax
integer answer = 42;
llSay(0,"The answer to life, the universe and everything: " + (string)answer);
The first and third line of this example are statements.