This syntax doesn't look valid at all. For one, If you use parameter
evaluation all your javascript code must be within the double curly
brackets. At least, I am not familiar with this kind of syntax, so I
would presume it's not at all doing what you're trying to achieve:
<<tiddler TID##SECTION if:{{CODE}}>>
...especially the outer "if:".
Also, although conceivable, I don't know of an out of the box solution
to have a subsequent tiddler macro call depend on the results of
another one that precedes it. At least, your example rather seems to
look like non-working pseudo-code.
Can you describe exactly what you are trying to achieve? As in...
1) read section and check it against a static variable / a section / a
slice value
2) if true... output section/slice/field/string
3) if false... output error from section/slice/field/string
It would also help if you'd explain in what broader context you want
to do this.
Cheers, Tobias.
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywiki?hl=en.