Difference between revisions of "Clearvar"
From NEC Retro
(Created page with "<includeonly>{{#fornumargs:|vname|{{#vardefine:{{#var:vname}}|}}}}</includeonly><noinclude> Clear variables. ==Usage== <pre> <nowiki>{{#vardefine:testvalue|5}}</nowiki> <nowi...") |
m (Text replacement - "Category:NEC Retro templates" to "Category:Templates") |
||
Line 13: | Line 13: | ||
{{#vardefine:testvalue|5}}{{clearvar|testvalue}} | {{#vardefine:testvalue|5}}{{clearvar|testvalue}} | ||
testvalue = {{#var:testvalue}} | testvalue = {{#var:testvalue}} | ||
− | [[Category: | + | [[Category:Templates]] |
</noinclude> | </noinclude> |
Latest revision as of 11:42, 1 January 2022
Clear variables.
Usage
{{#vardefine:testvalue|5}} {{clearvar|testvalue}} testvalue = {{#var:testvalue}}
Returns:
testvalue =