1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-02-06 14:10:02 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/macros/DumpVariablesMacro.tid

20 lines
585 B
Plaintext
Raw Normal View History

2014-09-08 15:06:48 +01:00
created: 20140908104107181
2015-01-07 16:18:36 +01:00
modified: 20150107121000000
2014-09-10 23:42:13 +01:00
tags: Macros
2014-09-08 15:06:48 +01:00
title: DumpVariablesMacro
type: text/vnd.tiddlywiki
2014-09-11 00:06:19 +01:00
caption: dumpvariables
2014-09-08 15:06:48 +01:00
2015-01-07 16:18:36 +01: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 15:06:48 +01:00
2015-01-07 16:18:36 +01: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 15:06:48 +01:00
2015-01-07 16:18:36 +01:00
!! Example
2014-09-08 15:06:48 +01:00
```
<<dumpvariables>>
```
2015-01-07 16:18:36 +01:00
Renders as:
2014-09-08 15:06:48 +01:00
2015-01-07 16:18:36 +01:00
<<dumpvariables>>