false: Difference between revisions
Jump to navigation
Jump to search
(Create the page) |
No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Constant with the value 0, representing a false value in macros. | |||
==Usage== | |||
<syntaxhighlight lang="mtmacro" line> | <syntaxhighlight lang="mtmacro" line> | ||
false | false | ||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | ==Examples== | ||
<syntaxhighlight lang="mtmacro" line> | |||
[h: setMapVisible(false)] | |||
</syntaxhighlight> | |||
This example is the same as | |||
<syntaxhighlight lang="mtmacro" line> | |||
[h: setMapVisible(0)] | |||
</syntaxhighlight> | |||
==Notes== | |||
Although {{code|false}} is the same as the number {{code|0}}, it can be more descriptive in cases where a true/false value is expected. | |||
==Related Pages== | |||
* [[true]] | |||
[[Category:Special Variable]] | [[Category:Special Variable]] | ||
{{DISPLAYTITLE:false (Special Variable)}} | |||
Pages with ignored display titles |
Latest revision as of 23:59, 4 July 2023
Constant with the value 0, representing a false value in macros.
Usage
false
Examples
[h: setMapVisible(false)]
This example is the same as
[h: setMapVisible(0)]
Notes
Although false
is the same as the number 0
, it can be more descriptive in cases where a true/false value is expected.
Related Pages
Pages with ignored display titles