Thank you so much Alex!
Regards,
Kashyap

On Tue, Oct 29, 2019 at 11:08 PM Alexander Burger <a...@software-lab.de>
wrote:

> Hi Kashyap,
>
> > Okay ... I have it working now :) Although, I am not sure if I did the
> > right thing - I was able to access the Task using (: home obj)
>
> Great! :)
>
>
> >  (gui '(+Button) "Update"
> >     '(put!> (: home obj) 'upds
> >        (cons
> >           (new! '(+Update)
> >              'dsc (val> (field -1)) )
> >           (get (: home obj) 'upds) ) ) )
>
> Minor notes:
>
> 1. ':' can chain the arguments (like all property functions). So instead of
>
>      (get (: home obj) 'upds)
>
>   you can write
>
>      (: home obj upds)
>
>
> 2. The 'cons' is fine but may not be necessary. 'put!>' and related
> functions
>    know about the '+List' and take care about. I think just
>
>      '(put!> (: home obj) 'upds
>          (new! '(+Update) ...) )
>
>    should be enough.
>
> ☺/ A!ex
>
> --
> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
>

Reply via email to