darryllawson/gedit-twiki — comment on commit 6b3b0b879626ede8916ea9d0153df0711c145bee
File:  line 0
By csirac2:

Well, at the end of my Test.txt there's some %MACRO examples demonstrating "delayed" macros such as a %SEARCH which emits delayed macros - "delayed" because T/Foswiki expand macros "inside-out, left-to-right", Eg. %SEARCH{format="%FOO%"}% - the '%FOO%' would get expanded first; if you wanted a %SEARCH to produce a %FOO% macro in its output, you'd write %SEARCH{format="$percntFOO$percnt"}%

There's an animation I did in the Foswiki System doc, http://foswiki.org/System/Macros#InsideOutLeftToRight - but there's a bug in FF7 & some Safari/Chrome which kills the syntax highlighting, here's a syntax-highlighted version from a Foswiki site that hasn't disabled Chili: http://www.lavrsen.dk/foswiki/bin/view/System/Macros#InsideOutLeftToRight