diff --git a/editions/tw5.com/tiddlers/macros/dumpvariables Macro.tid b/editions/tw5.com/tiddlers/macros/dumpvariables Macro.tid new file mode 100644 index 000000000..6608caf68 --- /dev/null +++ b/editions/tw5.com/tiddlers/macros/dumpvariables Macro.tid @@ -0,0 +1,18 @@ +caption: dumpvariables +created: 20140908104107181 +modified: 20150221151454000 +tags: Macros [[Core Macros]] +title: dumpvariables Macro +type: text/vnd.tiddlywiki + +The <<.def dumpvariables>> [[macro|Macros]] returns a table showing the values of all [[variables|Variables]] and [[macros|Macros]] that exist at that position in the [[widget tree|Widgets]]. + +It is useful for debugging and exploring ~TiddlyWiki's internals. + +Placeholders are replaced with values in the normal way, but using the default values for all macro parameters. + +!! Parameters + +(none) + +<<.macro-examples "dumpvariables">> diff --git a/editions/tw5.com/tiddlers/macros/examples/dumpvariables Macro (Examples).tid b/editions/tw5.com/tiddlers/macros/examples/dumpvariables Macro (Examples).tid new file mode 100644 index 000000000..2412368c2 --- /dev/null +++ b/editions/tw5.com/tiddlers/macros/examples/dumpvariables Macro (Examples).tid @@ -0,0 +1,14 @@ +created: 20150221151358000 +modified: 20150221151415000 +tags: [[dumpvariables Macro]] [[Macro Examples]] +title: dumpvariables Macro (Examples) +type: text/vnd.tiddlywiki + +<$macrocall $name=".example" n="1" +eg="""<$set name="EXAMPLE" value="123.$(EXAMPLE2)$.789"> +<$set name="EXAMPLE2" value="456"> + +<> + + +"""/>