>
> The $(...)$ is used to transclude variables set wit <$set>. You can also
>> use <<...>> instead, but I do not really understandd all of the
>> implications. I simply stick to the rule: When I want something set with
>> <$set> to be inserted, I use $(...)$.
>>
>
The difference is that $(..)$ is a textual substitution that is performed
before the macro is parsed, while the <<...>> syntax results in a
transclusion, where the target is parsed and rendered separately.

So, if you're trying to compose text that you want to be parsed in its
entirety you should use the $(...)$ syntax. For example:

http://<<myURL>> results in the text "http://"; followed by the transcluded
text of the "myURL" variable, and the overall URL is not parsed as an
external URL.

http://$(myURL)$ in a macro definition results in the variable "myURL"
being replaced by it's text before the macro is parsed. The overall URL is
parsed as expected as an external URL.

Best wishes

Jeremy



>
>  --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/tiddlywiki.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to