TRUE
| LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Caveats
Examples
<lsl>integer q;
default {
state_entry()
{
q = TRUE;
if(q)
{
llSay(0, "TRUE");
q = FALSE;
if(!q)
{
llSay(0, "FALSE");
q = TRUE;
if(!q)
{
llSay(0, "Won't say this");
}
else
{
llSay(0, "TRUE");
q = FALSE;
if(q)
{
llSay(0, "Won't say this");
}
else
{
llSay(0, "FALSE");
}
}
}
else
{
llSay(0, "Won't say this");
}
}
else
{
llSay(0, "Won't say this");
}
}
}</lsl>