Delayed reaction: thanks for the comment! A lot of times, when I figure out in my head how to do something in TiddlyWiki, I don't follow through on doing it because the challenge is no longer there. No challenge, no problem to solve, no interest.
This was one of those rare moments in which I had a desire to accompany my awesome first coffee of the day with a "prove it with code" scratch. On Saturday, December 10, 2022 at 11:58:49 AM UTC-4 jeremy...@gmail.com wrote: > Great stuff Charlie, really inspired. I hope you will enjoy the new > possibilities coming in https://github.com/Jermolene/TiddlyWiki5/pull/6666 > > Best wishes > > Jeremy > > On Saturday, December 10, 2022 at 3:43:19 PM UTC cj.v...@gmail.com wrote: > >> I find the layout of the code above looks better when viewed in Google >> Groups >> <https://groups.google.com/g/tiddlywiki/c/uHmKhRIT2oc/m/4oqg_Bf2AgAJ>. >> >> On Saturday, December 10, 2022 at 11:15:51 AM UTC-4 Charlie Veniot wrote: >> >>> And the TiddlyWiki syntax (no javascript) version: >>> ``` >>> \define fibo(fnmax fni:1 fnm2:0 fnm1:1) >>> <$list filter="[[$fnm2$]match[0]]"> >>> F,,$fnm2$,, = $fnm2$<br> >>> F,,$fnm1$,, = $fnm1$<br> >>> </$list> >>> <$vars fni={{{ [[$fni$]add[1]] }}} >>> fn={{{ [[$fnm1$]add[$fnm2$]] }}}> >>> F,,<<fni>>,, = <<fn>><br> >>> <$list filter="[[$fnmax$]compare:integer:gt<fni>]"><$macrocall >>> $name=fibo fni=<<fni>> fnmax=$fnmax$ fnm2=$fnm1$ fnm1=<<fn>>/></$list> >>> </$vars> >>> \end >>> >>> <<fibo 25>> >>> ``` >>> On Saturday, March 12, 2022 at 7:49:42 PM UTC-4 Charlie Veniot wrote: >>> >>>> TiddlyWiki instance available for play: >>>> https://basicanywheremachine.neocities.org/SessionStorageForVariables.html >>>> >>>> On Saturday, March 12, 2022 at 11:07:54 AM UTC-4 Charlie Veniot wrote: >>>> >>>>> >>>>> [image: Screenshot 2022-03-12 11.05.36 AM.png] >>>> >>>> -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f18cf68d-f959-45f1-a38e-54759bd2b221n%40googlegroups.com.