Template:LSL Function/boolean

From Second Life Wiki
< Template:LSL Function
Revision as of 21:43, 23 December 2013 by Strife Onizuka (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.
{{{{FULLPAGENAME}}|bool|bool=*|pd=1|ph=2|default=false}}
#var value
p_bool_desc boolean, 1 TRUE enables, FALSE (default) disables
p_bool_hover boolean, 2 TRUE enables, FALSE (default) disables
{{{{FULLPAGENAME}}|bool|bool=*|pd=1|ph=2|td=3|th=4|fd=5|fh=6}}
#var value
p_bool_desc boolean, 1 TRUE 3, FALSE 5
p_bool_hover boolean, 2 TRUE 4, FALSE 6
  1. ^ Any value that is not zero/FALSE is treated the same as TRUE. This behavior should not be depended upon.
{{{{FULLPAGENAME}}|bool|bool=*|if=*|non-zero=*|pd=1|ph=2|td=3|th=4|fd=5|fh=6}}
#var value
p_bool_desc boolean, 1 if TRUE[1] 3, if FALSE 5
p_bool_hover boolean, 2 if TRUE 4, if FALSE 6
{{{{FULLPAGENAME}}|bool|if=when|non-zero=*|td=3|th=4|fd=5|fh=6}}
#var value
p_bool_desc When TRUE[1] 3, when FALSE 5
p_bool_hover When TRUE 4, when FALSE 6