1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-07 04:24:22 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/macros/DumpVariablesMacro.tid

20 lines
585 B
Plaintext
Raw Normal View History

2014-09-08 14:06:48 +00:00
created: 20140908104107181
2015-01-07 15:18:36 +00:00
modified: 20150107121000000
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
2015-01-07 15:18:36 +00:00
The ''dumpvariables'' [[macro|Macros]] displays a table with values of all [[variables|Variables]] that are defined in the current scope. It is useful for debugging and exploring TiddlyWiki internals.
2014-09-08 14:06:48 +00:00
2015-01-07 15:18:36 +00:00
''Note:'' Parameters and variable subsitutions for macros are displayed as empty strings. A macro defined as `\define myMacro(text) ''$text$''` thus displays as `''''`.
2014-09-08 14:06:48 +00:00
2015-01-07 15:18:36 +00:00
!! Example
2014-09-08 14:06:48 +00:00
```
<<dumpvariables>>
```
2015-01-07 15:18:36 +00:00
Renders as:
2014-09-08 14:06:48 +00:00
2015-01-07 15:18:36 +00:00
<<dumpvariables>>