Many thanks.

Sure enough that's what I needed and as I expected it was simple enough. 
The $(name)$ was the combination I hadn't tried. Perhaps it isn't the best 
documented aspect of Tiddlywiki.

Again, thanks.

Stephen

On Wednesday, March 7, 2018 at 2:20:42 PM UTC-6, Mark S. wrote:
>
> Whenever you want to concatenate something, like the result of a variable 
> and a tiddler name, think of macros -- that's mainly what they do. This 
> script seems to work:
>
> \define price() {{pricetiddler##$(stock)$}} 
> <$list filter="[tag[computer]sort[title]]" variable="stock">
> <<stock>> price = $<<price>>
>
> </$list>
>
> HTH
> -- Mark
>
> On Wednesday, March 7, 2018 at 9:53:31 AM UTC-8, Stephen Kimmel wrote:
>>
>> Per my usual, I'm fairly certain that this is easy... I just can't figure 
>> it out.
>>
>> I have a lot of tiddlers named with the stock symbol. The tiddler for 
>> Ford is named F, for example. while the tiddler for Disney is named DIS. I 
>> want to create a data/dictionary tiddler called pricetiddler that will have 
>> the stock marker tickers symbols and the prices. So the data tiddler might 
>> look like :
>>
>> APPL:175.07
>>>
>>> DIS:103.13
>>>
>>> F:10.51
>>>
>>> MSFT:92.87
>>>
>>
>> I want this in a dictionary tiddler so I can change all the numbers in 
>> one shot rather than changing a field in each of the tiddlers individually. 
>> Finally I want to create lists using something like
>>
>>  <$list filter="[tag[computer]sort[title]]" variable="stock"> 
>>> <<stock>> price = ${{pricetiddler##<<stock>>}}
>>>
>>> </$list>
>>>
>>
>> and create a list like:
>>
>> APPL price = $175.07
>>> MSFT price = $92.87
>>>
>>
>> So far, no combination of symbols has given me what I want. Can someone 
>> tell me what I'm missing?
>>
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2e86925c-f1b4-4e99-b4b2-80faed50ff08%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to