Hi Thomas,
 Thank you for your note!
Documentation is not clear and hopefully Jeremy add some examples!


On Sunday, December 29, 2019 at 1:00:57 PM UTC+3:30, Thomas Elmiger wrote:
>
> Hi Mohammad, 
>
> According to the documentation putfirst and putlast move a number of items 
> to *the other* end of the list. So in your case you would have to make 
> complicated calculations... Maybe the naming evokes the impression that 
> they move defined items to the beginning or the end of the list. But they 
> do that only for items already at an end of the list, not for any item. 
>
> My advice would be to make three steps. First store cc in a variable. Then 
> remove it from the list. Then append or prepend to the list.
>

Yes, this is a good trick! lets try it.

Cheers
Mohammad


 

> All the best, 
> Thomas 
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/631a16fa-8094-435b-a01c-04ce0d42dab5%40googlegroups.com.

Reply via email to