Thank you Simon! But you can not have negative step from 1 to 10 and again you get 1,2,3.... I read the Evans formula and range code and it seems TW5.1.18 uses the same code from Evans!
Evans code can be found here: http://evanbalster.com/tiddlywiki/formulas.html#%24%3A%2Fplugins%2Febalster%2Fformula%2Ffilters%2Frange.js Look how the increment is calculated! I think it can be modified to handle negative steps correctly! Mohammad On Sunday, December 2, 2018 at 9:47:04 PM UTC+3:30, BurningTreeC wrote: > > @Mohammad, here are the docs: > https://tiddlywiki.com/prerelease/#range%20Operator > > On Sunday, December 2, 2018 at 6:32:49 PM UTC+1, Mohammad wrote: >> >> Many thanks for all your efforts Jeremy! >> >> One question: >> >> {{{ [range[1,10,-2]] }}} >> >> >> returns 1357 while it is expected to return empty list! Note to the >> negative step! >> >> Is this intentionally set to have such output? >> >> Also >> {{{ [range[10,4,2]] }}} >> >> returns >> 10864 >> >> I appreciate to clarify this! >> >> Mohammad >> >> -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. 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/98105870-7ba9-4635-b181-2bc2cdeeff67%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.