@Eric: Yes, that works. But if I put the same default into my tree macro, 
there is still no tree unless I provide the parameter. So, must be 
something inside the macros that needs adjusting...

On Tuesday, May 5, 2015 at 11:40:13 AM UTC-7, Eric Shulman wrote:
>
> On Tuesday, May 5, 2015 at 11:00:02 AM UTC-7, Jeremy Ruston wrote:
>>
>> The default values for macro parameters can only be specified as literal 
>> strings, I'm afraid. Can you expand on the situation, perhaps I can advise 
>> on alternatives?
>>
>
> I just tried this on TiddlyWiki.com:
> \define x(y:<<currentTiddler>>)
> $y$
> \end
> <<x>> 
> .. and it WORKS!
>
> and just to be sure it wasn't some magic involving <<curerntTiddler>>, I 
> also tried
>
> \define z()
> This is some text
> \end
> \define x(y:<<z>>)
> $y$
> \end
> <<x>>
> and it works also.
>
> @Jeremy: It is possible your implementation is just so good that it 
> handles a case you didn't expect?
>
> -e
>
>
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1e4ed5ea-f0e3-4905-a101-7f1905a5d2fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to