Hi Marius,

On 1/9/07, Marius Erni <[EMAIL PROTECTED]> wrote:
> Hi John,
>
> I do like to start implement the /do/undo/redo expression. How does it work?
>
> undo:
> As soon as we encounter a do expression every expression encountered inside
> this expression is added to a stack and if a undo expression is called we
> pop from the top of the stack and tell each expression to undo himself? We
> invert the flow execution..

"undo" doesn't invert the flow of execution, it cancels the segment
currently active and restarts after the "do block".

> Does the participants know how to undo themselves?

They know how to get "cancelled" and that's what happening to themselves.


> redo:
> redo seems easier, we just restart the flow at the do expression.

"redo" means cancelling the segment currently active and restarting
the execution the "do block".


I'll have to re-read and rewrite the documentation, I certainly wrote
it in a flash during a train ride.


Best regards,

-- 
John Mettraux   -///-   http://jmettraux.openwfe.org

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"OpenWFE users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/openwfe-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to