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.
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.
bobj
<table>
<tr>
<th colspan="2">Fahrenheit > Celsius</th>
</tr>
<tr>
<td style="width:5em"><$edit-text tiddler="$:/_br/converter/state" field="temp-f"/></td>
<td>
<$list filter="$:/_br/converter/state +[get[temp-f]subtract[32]multiply[5]divide[9]precision[4]]" variable="convert-c">
<$text text=<<convert-c>>/>° Celsius (C)
</$list>
</td>
</tr>
</table>
---------------
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"
--
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 tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/7ff64fd3-d473-4ecb-b463-818671f80e51o%40googlegroups.com.
<$button>
<$action-setfield $tiddler="$:/config/incremental" text={{{ [{$:/config/incremental}add[1]] }}}/>
Add 1
</$button>
$:/config/incremental {{$:/config/incremental}}
<$set name=currentN value={{$:/config/incremental}}>
currentN=<<currentN>>
</$set>
<$button>
<$list filter="[{$:/config/incremental/indexes##A}is[blank]]" variable=nul>
<$action-setfield $tiddler="$:/config/incremental/indexes" $index="A" $value="0"/>
</$list>
<$action-setfield $tiddler="$:/config/incremental/indexes" $index="A" $value={{{ [[$:/config/incremental/indexes]getindex[A]add[1]] }}}/>
Add 1 to {{$:/config/incremental/indexes##A}}
</$button>
$:/config/incremental/indexes {{$:/config/incremental/indexes##A}}
<$set name=currentN value={{{ [[$:/config/incremental/indexes]getindex[A]] }}} >
currentN=<<currentN>>
</$set>
--
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 tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/95a9a042-a56c-44be-b429-ffdcfd5a8944n%40googlegroups.com.