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