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

29 lines
790 B
Plaintext
Raw Normal View History

2014-09-08 14:06:48 +00:00
created: 20140908104107181
modified: 20140908104107181
2014-09-10 22:42:13 +00:00
tags: Macros
2014-09-08 14:06:48 +00:00
title: DumpVariablesMacro
type: text/vnd.tiddlywiki
2014-09-10 23:06:19 +00:00
caption: dumpvariables
2014-09-08 14:06:48 +00:00
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 `''''`.