On 3/16/11 11:30 AM, Aparajita Fishman wrote:
>> In my form processor code I've tried
>>
>>    $response{'post'} := _form
> $response("post"} := copy collection(_form)
Thanks that fixes it.

Can you explain something from the Docs.

Embedded Collections

You can embed collections in collections (by storing their handles)
to any depth and
reference their items by adding more indexes, like this:

$foo := $c{"level1"}{"level2"}{"level3"}{"the_key"}

Does this mean that the collection $foo is now stored in
$c{"level1"}{"level2"}{"level3"}{"the_key"} ?

That syntax is kind of backwards as I would have been inclined to try

$c{"level1"}{"level2"}{"level3"}{"the_key"} := $foo.
> HINT: Don't use single quotes if you don't have to, you're wasting CPU 
> interpolating the string.
Noted. That's a bad habit from writing code in other languages.

Sorry for all the questions today. I admittedly have not been
working in 4D/Active4D much lately.

Thanks,

Brad
> Kind regards,
>
>    Aparajita
>    www.aparajitaworld.com
>
>    "If you dare to fail, you are bound to succeed."
>    - Sri Chinmoy   |   www.srichinmoy.org
>
> _______________________________________________
> Active4D-dev mailing list
> [email protected]
> http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
> Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
>

_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to