In message <[EMAIL PROTECTED]>,
Eric Smith writes:
>Risto Vaarandi wrote:
>> David Vasil wrote:
>>> Risto Vaarandi wrote:
>>>> In order to overcome this ambiguity, I've been thinking about adding
>>>> event2 action to SEC action set that would have the following syntax:
>>>>
>>>> event2 <time> [<event text>]
>>>>
>>>> 'event2' would be identical to 'event', except <time> parameter is
>>>> mandatory and may contain other symbols than numerals (0-9) only.
>>>>
>>>> Note that there is also another option - drop the idea of having 'event2
>>>> <variable_time> <event_text>', and use
>>>>
>>>> create <context> <variable_time> (event <event_text>)
>>>>
>>>> instead. In other words, when variable lifetimes are allowed for
>>>> contexts, 'event2' can be actually expressed through 'create'.
>>>>
>>>> Any ideas?
>>> I like the idea of an additional event, but the name itself 'event2' may
>>> confuse some. Maybe something like 'tevent' for 'timed event' would
>>> work.
>>
>> I had the same doubts about the naming -- adding a number doesn't make
>> the name descriptive enough) --, but 'tevent' looks a nice choice ;)
>
>Why make it cryptic at all? Why not "timedevent", or "timed_event"?
>"tevent" doesn't have much intrinsic meaning, to me. It's not like
>there's a cost to making it readable.
Risto,
Why use positional arguments at all. I think the change between SEC
V1's positional arguments to v2 labeled arguments was a major win.
Keep event, but add a label --timeout.
event --timeout %variable stuff
This would work for all actions I think since a - sign (except for
write) isn't a valid initial character. It can be optional if the
event matches the form:
event [number] stuff
but allows for other future expansion of the functionality of all
keywords should it be needed.
-- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Simple-evcorr-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users