Creating fields for the day/hours might be the way to go. I'll have to 
rethink it.

This is what I meant about javascript. You know how to get from point A to 
point B. There's a well established mechanism. Many people have been on 
similar journeys.

With widgets, I got part way from point A to B, and discovered my vessel 
had a leak. In this case, the unexpected compaction of lists means that 
lists don't work like arrays (which up to now has been my guiding 
comparison). 

Oh well, my first algorithm had some flaws, so I was starting over anyways.

Thanks!
-- Mark

On Thursday, July 26, 2018 at 7:33:49 PM UTC-7, TonyM wrote:
>
> Mark,
>
> Yup, the each operator is for each case on a tiddler title. There is a 
> suffix for that operator but it does not help us.
>
> There should be a way to compare the value of the field with the result of 
> the de-duplicated list such if they are the same there are no duplicates.
> eg {{!!field-value}} compaired to list output.
>
> This may be a case of needing to re-frame the question so you can avoid 
> this limitation.
>
> Perhaps you could list all tiddlers containing TH10 in a field and count[] 
> them. If there is more than one you have a duplicate. Basically operate at 
> a tiddler level rather than at a list level.
>
> Regards
> Tony
>
>
> On Friday, July 27, 2018 at 12:14:59 PM UTC+10, Mark S. wrote:
>>
>> I just need to test the duplicates. Or at least that was my plan. The 
>> idea was to subtract one set of timestamps with no dupes from another in 
>> order to determine if there is a schedule conflict. That is, if there are 
>> datestamps leftover, then there must be a conflict.
>>
>> I hadn't realized until today that dupes are automatically removed. It 
>> makes me wonder what the point of the "each" operator is.
>>
>> Thanks,
>> -- Mark
>>
>> On Thursday, July 26, 2018 at 6:27:30 PM UTC-7, TonyM wrote:
>>>
>>> Mark,
>>>
>>> Do you want to test that there are duplicates without any additional 
>>> details? like name and number od?
>>>
>>> Or do you want to list the duplicate values themself?
>>>
>>> Regards
>>> Tony
>>>
>>> On Friday, July 27, 2018 at 5:23:20 AM UTC+10, Mark S. wrote:
>>>>
>>>> I would like to detect the presence of duplicates in a series like this:
>>>>
>>>> MO10 TU10 WE10 TH10 TU10 TH10
>>>>
>>>> I thought I could do this with list or enlist by subtracting a packed 
>>>> list from a non-packed list. Unfortunately, list and enlist both remove 
>>>> duplicates even before you start.
>>>>
>>>> I'm storing the list-like items in a field "times" because if I attempt 
>>>> to store them in "list" it will automatically pack them!
>>>>
>>>> Suggestions?
>>>>
>>>> Thanks!
>>>> -- Mark
>>>>
>>>

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/23378181-8ff7-46ac-9b12-f968f645454f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to