Hi vpl There is a ticket about adding maths expressions to the core filter syntax:
https://github.com/Jermolene/TiddlyWiki5/issues/254 There's no specific proposal for the syntax at the moment. My own preference is that we should re-use standard mathematical expression syntax as far as possible, and not invent a different syntax for math operations. Best wishes Jeremy. On Tue, Dec 2, 2014 at 8:35 AM, vpl <[email protected]> wrote: > Thanks very much for this detailed answer. > I have to be patient and monitor carefully this forum and the coming > releases ... > At least I understand that I did not missed something abvious that I could > have used for doing that. > > Thanks very much > > regards > > > Le lundi 1 décembre 2014 19:17:12 UTC+1, Tobias Beer a écrit : > >> Hi vpl, >> >> I'm afraid the functionality is not in the core yet. Not sure if metabele >> or skeeve might have done something like this. >> >> Do you mean that I should I should put the result of my filter to a macro >>> that will increment this value ? >> >> >> I have just created a filter that will be announced soonish that does >> plently computation magick and could easily be extended to increment a >> value by X, to add a value to its output. >> >> However, even if technically possible a filter should not update a >> tiddler. So, what's missing is a widget (or widget-message) that is able to >> write filter output to a tiddler field in a desired format. I have just >> opened >> a ticket for it <https://github.com/Jermolene/TiddlyWiki5/issues/1176>... >> might even be going to implement that myself, but I haven't yet created >> widgets or messages yet, so... I'm inclined to wait a moment for some input >> from more knowledgeable sources. >> >> But I'm block at this stage as a macro can only update a TiddlyWiki text, >>> as I understand. >>> >> >> Right now, I don't see how a macro can do increments. I don't think it >> can. There does have to be a widget for it, e.g. button or other control >> implementing a message that does the setting. >> >> >>> What should I do then ? >>> >> Is there somebody who could help me ? >> >> >> There sure is. Be a wee bit patient. I think you might not be waiting for >> too long as you're quite not the only one wanting to... >> >> 1. not only do rudimentary operations (arithmetics, etc...) >> 2. but also store away the result, e.g. doing increments >> >> Best wishes, Tobias. >> > -- > 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 http://groups.google.com/group/tiddlywiki. > For more options, visit https://groups.google.com/d/optout. > -- Jeremy Ruston mailto:[email protected] -- 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.

