> Am  I correct that you use tiddler
> sections and referencing to combine the different clauses on the fly
> at run time?

exactly.

> I tried a simple example with the tiddler "ShowStuff" - where the
> write clause is with double-quotes.
> (The idea is a table of tagged tiddlers "video" with tiddler name and
> a constant "REMARK" - just to experiment):
...
> but I got the syntax error message:
> "Missing ; before statement"

Using a "compound macro" definition eliminates the need for the
*outermost* quotes (either single or double) around each
forEachTiddler parameter.   This makes it *possible* to use both
single and double quotes within the parameter values.  Nonetheless,
you still can't use the same kind of quotes as both literal content
*and* as the delimiters around that content.

In this particular case, the error occurs within the 'write'
parameter, which only contains double-quotes:
   "|[["+tiddler.title+"]] |"REMARK" |\n"
To fix this, you use single quotes as delimiters, so that double
quotes can be used as content:
 '|[['+tiddler.title+']] |"REMARK" |\n'

enjoy,
-e

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to TiddlyWiki@googlegroups.com
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to