FALSE

From Second Life Wiki
Revision as of 18:04, 4 August 2009 by EddyFragment Robonaught (talk | contribs) (there was nothing here! now there is.)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Description

Constant: integer FALSE = 0;

The integer constant FALSE has the value 0

Related Articles

Constants

•  TRUE

Articles

•  boolean

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>

Deep Notes

Search JIRA for related Issues

Signature

integer FALSE = 0;