Hi Evan

On Thursday, February 1, 2018 at 3:24:58 PM UTC-6, Evan Balster wrote:
>
>
> That would look something like this:
>
> <$formula-vars $dict="""
>   dict(
>     t1 = 0,
>     t2 = <<newVal>>,
>     t3 = 3+1,
>     t4 = t3+20)
>   """>
>   ...
> </$formula-vars>
>
> At which point the primitive objects usable in formulas start to look a 
> lot like JavaScript's!  Hashmaps (aka "objects" aka "dictionaries") are 
> useful for lots of things...
>
>
At which point, one wonders why you don't add another idiom... json.

<$formula-vars $thing="""
  json {
    t1: 0,
    t2: <<newVal>>,
    t3: 3+1,
    t4: t3+20}
  """>
  ...
</$formula-vars>

thoughts?

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/10fb3cba-3012-477f-8e48-fd2f861d0b0d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to