Possible bug in Revolution 3.0: merge command is missing array elements...
andre at andregarzia.com
Thu Sep 11 17:42:55 CDT 2008
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.
On Thu, Sep 11, 2008 at 7:39 PM, Andre Garzia <andre at andregarzia.com> wrote:
> 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!!!!
> http://www.andregarzia.com All We Do Is Code.
http://www.andregarzia.com All We Do Is Code.
More information about the use-livecode