false: Difference between revisions
Jump to navigation
Jump to search
(Create the page) |
(Flesh the page out some more) |
||
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)}} |
Revision as of 08:11, 21 June 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.