Creating task descriptions

View: New views
2 Messages — Rating Filter:   Alert me  

Creating task descriptions

by Russel Winder-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

One can set the description attribute of a task in the parameter list:

        task blah ( description : 'Something.' ) << { . . . }

but is there a way of setting the description in the closure that is the
body of the task?

Thanks.

--
Russel.
=============================================================================
Dr Russel Winder      Partner
                                            xmpp: russel@...
Concertant LLP        t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,   f: +44 8700 516 084   voip: sip:russel.winder@...
London SW11 1EN, UK   m: +44 7770 465 077   skype: russel_winder


signature.asc (204 bytes) Download Attachment

Re: Creating task descriptions

by Steve Appling :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It's done during the configuration phase, not when the task is executed.  That
way it is available for the task list (-t) without executing any tasks.  You can
set it in a configuration closure for a task (without the <<).

Russel Winder wrote:
> One can set the description attribute of a task in the parameter list:
>
> task blah ( description : 'Something.' ) << { . . . }
>
> but is there a way of setting the description in the closure that is the
> body of the task?
>
> Thanks.
>

--
Steve Appling
Automated Logic Research Team

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email