Tones,

Thanks for your reply. I am not averse to learning about filters in fact as I 
go along I'm getting much better at them. 

I was just frustrated at the poor documentation of how to do simple 
concatenation or arithmetic. The examples assume a higher level of familiarity 
with the subject than I currently possess. The issue for me is how to relate my 
problem to a filter based solution.

Hopefully your reply as with others will give me greater insight.

Bobj
---------------
Dr Bob Jansen
The Cultural Conversations project 
Turtle Lane Studios Pty Ltd trading as the Australian Centre for Oral History
122 Cameron St, Rockdale NSW 2216, Australia 
Ph (Korea): +82 10-4494-0328 
Ph (Australia) +61 414 297 448 
Resume: http://au.linkedin.com/in/bobjan 
Skype: bobjtls 
KakaoTalk: bobjtls 
http://www.cultconv.com 

 In line with the Australian anti-spam legislation, if you wish to receive no 
further email from me, please send me an email with the subject "No Spam"

> On 10 Sep 2020, at 12:19, TW Tones <[email protected]> wrote:
> 
> Bob,
> 
>> 1. Is there a simple concatenation operator, like & or + that can be used to 
>> concatenate strings? I know that a macro can do it but that seems very 
>> confusing to a simple mind like me.
> 
> 1. Concatenation
> 
> There are many ways to concatenate with tiddlywiki, although for good reasons 
> in may seem not as strait forward as you would expect. In part because where 
> do you want this concatenated result used?
> Please provide a descriptive  example of what you are currently try to 
> achieve.
> 
> With concatenation you will find these methods useful
> Define a macro in which the concatenation occurs
> You can use $(currentTiddler)$ and parameter $param$ for simple substitutions
> Wiki fy that macro (with the same name is ok) just before you use it say in a 
> filter and some parameters
> You can use add-prefix/split/join/splitregext and other string handling.
>> 2. Is there a way of doing simple arithmetic, say increment a variable or 
>> add some variables together? The manual implies that it is possible in a 
>> filter but I want to do it outside of a filter.
> 
> 2. Most if not all the mathematics functions in standard tiddlywiki are 
> "filter operators", so they must be used in filters
> 
> However;
> Use triple braces to present the result of a calculation in line as a 
> parameter.
> {{{ [your maths filter] }}} but you may need to turn the result into text 
> <$text text={{{ [your maths filter] }}}/>
> You can use other maths plugins like Evans formula plugin he uses Mushroom 
> brackets (= maths =), calc widget and others
> In closing if you are reluctant to learn filters in more detail, I suggest 
> you jump in. Filters are so powerful once you come to understand them your 
> powers are almost unlimited.
> 
> Regards
> TW Tones
> 
>> On Thursday, 10 September 2020 11:13:06 UTC+10, Bob Jansen wrote:
>> 
>> 
>> 
>> 
>> bobj
>> 
> 
> -- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/tiddlywiki/WFwExRhO05c/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/7ff64fd3-d473-4ecb-b463-818671f80e51o%40googlegroups.com.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/33553220-E393-4DCA-AFED-4A1B2BBBCD52%40gmail.com.

Reply via email to