Hey Evan,
In your demo, when I try:
- count([tag[Expenses]])
- `ComputeError: ReferenceError: V_Num is not defined operand:
[Operand function-call]`
- [tag[Expenses]count[]]
- [3.00]
- This is normal
- IF(([tag[Expenses]count[]]=*3*),"yes","no")
- `ValueError: TypeError: value.asString is not a function value: no`
- Where *3* can be either of the below without changing the returned
error
- 3.00
- [3.00]
- "[3.00]"
- "3"
Thank you very much for your hard work on this plugin. Mat is right - you
brought the chairs to the dinner party!
Diego
On Monday, December 18, 2017 at 10:25:51 PM UTC-6, Evan Balster wrote:
>
> Time will tell. It's my experience that hasty decisions about syntax can
> make language design tougher later on, so I'm not inclined to jump the gun
> on brevity options. One of the tough things about filters, in particular,
> is that the multi-run syntax should be supported in the future. That has
> some weird implications.
>
> It wouldn't be unreasonable to have an arraylinks function, though.
>
> On Monday, 18 December 2017 22:19:46 UTC-6, Mat wrote:
>>
>> (= arraystring([tag[Expenses]], "[[", "]] [[", "]]")
>>>
>>
>> A bit cumbersome.
>> Maybe (= array*links*([tag[Expenses]]) =)
>>
>>
>> ...and, btw, given how filters are delimited with outer square brackets,
>> just maybe parentheses could be omitted for filters?
>>
>> (= arraylinks*[*tag[Expenses]*]* =)
>>
>> (= sum*[*tag[Expenses]get[value]*]* =)
>>
>> <:-)
>>
>
--
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/ea76ee32-baa5-4ae3-b2a7-1dd0f8d81b6c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.