1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-01 05:49:55 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/macros/DumpVariablesMacro.tid

28 lines
774 B
Plaintext
Raw Normal View History

2014-09-08 14:06:48 +00:00
created: 20140908104107181
modified: 20140908104107181
2014-09-08 20:01:37 +00:00
tags: macros Macros
2014-09-08 14:06:48 +00:00
title: DumpVariablesMacro
type: text/vnd.tiddlywiki
The dumpvariables macro displays a table containing the values of all the variables defined at that location in the widget tree. It can be useful for exploring the mechanisms of TiddlyWiki and for debugging.
! Parameters
The dumpvariables macro does not require any parameters
! Examples
```
<<dumpvariables>>
```
Returns:
<<dumpvariables>>
The results returned by the dumpvariables macro will depend upon where it is used.
Note that the values displayed for macros are displayed with all the parameters and variable subsitutions set to an empty string. So, a macro defined as `\define myMacro(text) ''$text$''` will display as `''''`.