[tw5] Re: length operator in TW5.1.20pre

2019-02-23 Thread TonyM
Mohammad, I know how you feel, yet I do not have too many problems now, in part because I write code progressivly. I would have placed x=<> in there as soon as it did not do as expected. I will try and capture some of these design and debug methods and share. Regards Tony -- You received

[tw5] Re: length operator in TW5.1.20pre

2019-02-22 Thread Mohammad
Tony This took a lot of time to debug a code! Undefined variable or wrongly assigned. We really need a good TW documentation. --Mohammad -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving

[tw5] Re: length operator in TW5.1.20pre

2019-02-22 Thread Mohammad
Diego, Thank you for clarification. But when you code, this is error prone! --Mohammad On Saturday, February 23, 2019 at 1:08:12 AM UTC+3:30, Diego Mesa wrote: > > Hey Mohammad, > > If you put a <> in there before the $text, you can see that as you have > it, x is "true", which is why length

[tw5] Re: length operator in TW5.1.20pre

2019-02-22 Thread TonyM
What a nice way to write obscure code. Test for len 4 or len 5 for true false! Regards Tony -- 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

[tw5] Re: length operator in TW5.1.20pre

2019-02-22 Thread Diego Mesa
Hey Mohammad, If you put a <> in there before the $text, you can see that as you have it, x is "true", which is why length returns 4. On Friday, February 22, 2019 at 2:35:14 PM UTC-6, Mohammad wrote: > > Look at below test code > > <$vars x=> > <$text text={{{ [length[]] }}}/> > > > Testing