From 51f6e02ab0f40c4f5dae3c7fac47161f99be6735 Mon Sep 17 00:00:00 2001 From: pmario Date: Thu, 22 Feb 2024 14:51:58 +0100 Subject: [PATCH] docs: explain how to search for specific variables --- .../tiddlers/macros/examples/dumpvariables.tid | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/editions/tw5.com/tiddlers/macros/examples/dumpvariables.tid b/editions/tw5.com/tiddlers/macros/examples/dumpvariables.tid index e9728cb2d..35e96b576 100644 --- a/editions/tw5.com/tiddlers/macros/examples/dumpvariables.tid +++ b/editions/tw5.com/tiddlers/macros/examples/dumpvariables.tid @@ -1,21 +1,25 @@ created: 20150221151358000 -modified: 20240220015920165 +modified: 20240221165833692 tags: [[dumpvariables Macro]] [[Macro Examples]] title: dumpvariables Macro (Examples) type: text/vnd.tiddlywiki +The following example will list all variables that contain the word "example" in uppercase ''and'' also lowercase, due to the default setting of the <<.olink search>> operator. + <$macrocall $name=".example" n="1" eg="""<$let EXAMPLE="123" > <> """/> -<$macrocall $name=".example" n="2" -eg="""<>"""/> - Listing only specific varibles can be achieved using the <<.olink search>> operator as a subfilter +<$macrocall $name=".example" n="2" +eg="""<$let EXAMPLE="123" > +<> +"""/> + <$macrocall $name=".example" n="3" -eg="""<>"""/> +eg="""<>"""/> The following list will be very long. It shows all variables known within this tiddler. Using the macro in a different context. Eg: the sidebar, variables will have different values.