Possible bug in Revolution 3.0: merge command is missing array elements...
Andre Garzia
andre at andregarzia.com
Thu Sep 11 18:42:55 EDT 2008
Friends,
guess what, I think they "fixed" their parsing routine for merge
the merge of:
"hello [[myVar["name"]]]" ------- empty
"hello [[myVar["name"]]" ------- empty (worked before)
"hello [[myVar["name"] ]]" ------- works!
So anyone working with merge commands and arrays, be sure to add a
little space if you're using new revolution version.
andre
On Thu, Sep 11, 2008 at 7:39 PM, Andre Garzia <andre at andregarzia.com> wrote:
> Folks,
>
> can anyone confirm that we can still use arrays inside the merge command, like:
>
> put "andre" into myvar["name"]
> put the merge of format("hello [[ myVar[\"name\"]], welcome!")
>
> Before anyone says that there's a missing closing ] in the string, be
> aware that in previous revolution versions this is how it worked, if
> you put three ] like ]]] in the end, in the final result you got
> youself a nice ] in the string. Again, the point is, the myVar["name"]
> is being replaced by empty value!!!!
>
> andre
>
> --
> http://www.andregarzia.com All We Do Is Code.
>
--
http://www.andregarzia.com All We Do Is Code.
More information about the use-livecode
mailing list