Folks,
I have an interesting idea, that requires the ability to get the position 
of a tiddlers title in a list field and return it as a number.

So if we consider the tag $:/tags/ViewTemplate then on tiddlywiki.com the 
Tiddler $:/core/ui/ViewTemplate/subtitle would return three (3)

I have a code pattern to achieve this using count, setWidget with its index 
parameter, and a range operator however it is quite long winded and 
possibly inefficient.

Is anyone aware of an efficient way to determine the position of a given 
tiddler name in a list ?

I will share the idea once get past this, in a separate thread. However I 
need to determine the position in a list many times over so an efficient 
method is critical.

Thanks in Advance
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7bbc32b3-b66b-4bba-94a2-d45395ecfe63%40googlegroups.com.

Reply via email to