[tw5] Re: Making recursive + if-then-else based macro code simpler ?

2020-05-22 Thread Eric N.
Hi Xavier, Tony, thanks that looks very helpful I'm going to study that and have some fun ! Cheers Eric On Thursday, May 21, 2020 at 3:47:30 AM UTC+4, TonyM wrote: > > Eric > > The first quick tip about recursive processes in tiddlywiki is if a filter > is used to call a level it usually

[tw5] Re: Making recursive + if-then-else based macro code simpler ?

2020-05-20 Thread TonyM
Eric The first quick tip about recursive processes in tiddlywiki is if a filter is used to call a level it usually describes a list of titles or values which are themselves limited in number, that is they are exhausted eventually and the recursive process returns to the previous call. here is

Re: [tw5] Re: Making recursive + if-then-else based macro code simpler ?

2020-05-20 Thread Xavier Cazin
Hi Eric, One TW5 feature that helps a lot with recursions is the *emptyMessage* attribute of the $list widget. If you put your default values there, you often can manage to put your recursive calls inside a single list. Another feature that helps you keep a compact code while computing

[tw5] Re: Making recursive + if-then-else based macro code simpler ?

2020-05-20 Thread Eric N.
Hi Tony, Sorry for the late answer... You are right, I am sometimes confusing this google group with a Tiddlywiki FAQ + code review + ideas box + many other things ;-) My main question was not really about how to solve my specific problem, but the generic problem of using recursive macros and