mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-08-06 22:04:19 +00:00
change dumpvariables examples to wl-dumpvariables
This commit is contained in:
parent
b61d7e7555
commit
db40bd508c
@ -1,7 +1,7 @@
|
|||||||
created: 20240427113318944
|
created: 20240427113318944
|
||||||
modified: 20240427113819817
|
modified: 20240517094948997
|
||||||
tags:
|
tags:
|
||||||
title: dump-type-fn-raw
|
title: dump-type-fn-raw
|
||||||
type: text/vnd.tiddlywiki
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
<<.example 1 """<<dumpvariables type:"fn" sort:"raw" >>""">>
|
<<.example 1 """<<wl-dumpvariables type:"fn" sort:"raw" >>""">>
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
created: 20240218195424844
|
created: 20240218195424844
|
||||||
modified: 20240427113751174
|
modified: 20240517094940707
|
||||||
tags:
|
tags:
|
||||||
title: dump-with-subfilter
|
title: dump-with-subfilter
|
||||||
type: text/vnd.tiddlywiki
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
<<.example 1 """<<dumpvariables sort:raw subfilter:"[search::some[thisTiddler .attr ]]" >>""">>
|
<<.example 1 """<<wl-dumpvariables sort:raw subfilter:"[search::some[thisTiddler .attr ]]" >>""">>
|
||||||
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
|||||||
created: 20240218202032583
|
created: 20240218202032583
|
||||||
modified: 20240427114143241
|
modified: 20240517094448903
|
||||||
tags:
|
tags:
|
||||||
title: test-dumpvariables-sort-raw
|
title: test-dumpvariables-sort-raw
|
||||||
type: text/vnd.tiddlywiki
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
<<.example 1 """\procedure asdf(test:"hallo", x ) <<test>>
|
<<.example 1 """\procedure asdf(test:"hallo", x ) <<test>>
|
||||||
|
|
||||||
<<dumpvariables sort:"raw">> """>>
|
<<wl-dumpvariables sort:"raw">> """>>
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
created: 20240222140353499
|
created: 20240222140353499
|
||||||
modified: 20240222142402534
|
modified: 20240517094709340
|
||||||
tags:
|
tags:
|
||||||
title: test-widget
|
title: test-widget
|
||||||
type: text/vnd.tiddlywiki
|
type: text/vnd.tiddlywiki
|
||||||
@ -17,5 +17,5 @@ type: text/vnd.tiddlywiki
|
|||||||
|
|
||||||
<$my.widget/>
|
<$my.widget/>
|
||||||
|
|
||||||
<<dumpvariables subfilter:"[search::casesensitive,some[my. transc]]">>
|
<<wl-dumpvariables subfilter:"[search::casesensitive,some[my. transc]]">>
|
||||||
|
|
||||||
|
@ -1,29 +1,29 @@
|
|||||||
created: 20150221151358000
|
created: 20150221151358000
|
||||||
modified: 20240427120040367
|
modified: 20240517094857590
|
||||||
tags: [[dumpvariables Macro]] [[Macro Examples]]
|
tags: [[dumpvariables Macro]] [[Macro Examples]]
|
||||||
title: dumpvariables Macro (Examples)
|
title: wl-dumpvariables Macro (Examples)
|
||||||
type: text/vnd.tiddlywiki
|
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.
|
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"
|
<$macrocall $name=".example" n="1"
|
||||||
eg="""<$let EXAMPLE="123" >
|
eg="""<$let EXAMPLE="123" >
|
||||||
<<dumpvariables subfilter:"[search::some[EXAMPLE dumpvariables]]">>
|
<<wl-dumpvariables subfilter:"[search::some[EXAMPLE wl-dumpvariables]]">>
|
||||||
</$let>"""/>
|
</$let>"""/>
|
||||||
|
|
||||||
Listing only specific varibles can be achieved using the <<.olink search>> operator as a subfilter
|
Listing only specific varibles can be achieved using the <<.olink search>> operator as a subfilter
|
||||||
|
|
||||||
<$macrocall $name=".example" n="2"
|
<$macrocall $name=".example" n="2"
|
||||||
eg="""<$let EXAMPLE="123" >
|
eg="""<$let EXAMPLE="123" >
|
||||||
<<dumpvariables subfilter:"[search::casesensitive,some[EXAMPLE dumpvariables]]">>
|
<<wl-dumpvariables subfilter:"[search::casesensitive,some[EXAMPLE wl-dumpvariables]]">>
|
||||||
</$let>"""/>
|
</$let>"""/>
|
||||||
|
|
||||||
<$macrocall $name=".example" n="3"
|
<$macrocall $name=".example" n="3"
|
||||||
eg="""<<dumpvariables subfilter:"[prefix[.a]]">>"""/>
|
eg="""<<wl-dumpvariables subfilter:"[prefix[.a]]">>"""/>
|
||||||
|
|
||||||
''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 show ''different values''.
|
''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 show ''different values''.
|
||||||
|
|
||||||
<$macrocall $name=".example" n="4"
|
<$macrocall $name=".example" n="4"
|
||||||
eg="""<<dumpvariables>>"""/>
|
eg="""<<wl-dumpvariables>>"""/>
|
||||||
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
|||||||
caption: dumpvariables
|
caption: wl-dumpvariables
|
||||||
created: 20140908104107181
|
created: 20140908104107181
|
||||||
modified: 20240501101941520
|
modified: 20240517094925367
|
||||||
tags: Macros [[Core Macros]]
|
tags: Macros [[Core Macros]]
|
||||||
title: dumpvariables Macro
|
title: wl-dumpvariables Macro
|
||||||
type: text/vnd.tiddlywiki
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
The <<.def dumpvariables>> [[macro|Macros]] returns a table showing the values of all [[variables|Variables]], [[procedures|Procedures]], [[functions|Functions]], [[widgets|Widgets]] and [[macros|Macros]] that exist at that position in the [[widget tree|Widgets]].
|
The <<.def wl-dumpvariables>> [[macro|Macros]] returns a table showing the values of all [[variables|Variables]], [[procedures|Procedures]], [[functions|Functions]], [[widgets|Widgets]] and [[macros|Macros]] that exist at that position in the [[widget tree|Widgets]].
|
||||||
|
|
||||||
It is useful for debugging and exploring ~TiddlyWiki's internals.
|
It is useful for debugging and exploring ~TiddlyWiki's internals.
|
||||||
|
|
||||||
@ -30,4 +30,4 @@ The following parameters are <<.from-version "5.3.4">>
|
|||||||
|
|
||||||
Also see: [[search-variables Macro]]
|
Also see: [[search-variables Macro]]
|
||||||
|
|
||||||
!!! <<.macro-examples "dumpvariables">>
|
!!! <<.macro-examples "wl-dumpvariables">>
|
Loading…
x
Reference in New Issue
Block a user