I have a Results tiddler [1] which get one of many archeypes the
tiddler has contained in <data></data>
However some questions thow up the same archetype. In this event I
would like to display only one.
In English there would be some JS which said,

If tiddler.data("archetype1") has already been writen, then don't
write it.

Conceptually this must be quite a frequently appearing task in
computer programming; is there a name for it and where can I find some
answers?
How might I go about this in fET? Anyone done it before?

I've uploaded the TW in quesion [2]

thanks ahead of any suggestions.

Alex



[1]
--------------------
Results
------------------
<<forEachTiddler
where
'tiddler.title.contains("Q") && tiddler.data("score") <= "2"'
 write
 '"|"+tiddler.data("archetype1")+"+++<<tiddler [["+tiddler.data
("archetype1")+"]]$))===|\n"'

begin '"|sortable|k\n|Pathological Archetype|h\n"'
none '"!None found\n"'
>>
-------------------
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to