Hi there, 
This is my first post to this group =)

I am using TW5 5.1.14 in a browser (Chrome)
I am having issues passing a macro result as a name (as a part of a 
name:value pair) to a dictionary tiddler

I have a Dictionary Tiddler, DTiddler_1

DTiddler_1
1: foo
2: bar
3: baz
(etc to 6)
A call from a test tiddler - {{DTiddler_1##1}} returns foo, as expected (so 
the Data Tiddler is formatted correctly) 
(testing each of 1 through 6 returns the expected value)

I have a macro, Rand_Num
A call from a test tiddler - <<RandNum max: '6'>> or <$macrocall 
$name="RandNum "  max="6" /> returns random numbers 1 through 6, as 
expected (so that macro works)

I am trying to return a random value from the data tiddler like this
{{DTiddler_1##<$macrocall $name="RandNum "  max="6" />}} or
{{DTiddler_1##<<RandNum max: '6'>>}}

but both return blank values, and no errors.

I've been browsing this board as well as https://tiddlywiki.com/ 
(MacroCallWidget, Data Dictionary, Text References, etc, etc) and searching 
Google, and can't seem to quite get it to work, or if it is even possible.

Any help or pointers in the right direction would be appreciated.
thanks!
Sakura

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" 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 https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/10b35bf9-0702-4ed2-b36e-73dc767d1c23%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to