Sequel (computer science)

From Wikipedia, the free encyclopedia

A sequel is a routine with no return value, where the name is looked up lexically and execution is continued at the end of the block in which the sequel is declared[1].

{
        sequel s1 (...)
        {
                ...
        }

        {
                sequel s2 (...)
                {
                        ...
                }

                {
                        ...
                        if (...) s1 (...)
                        ...
                        if (...) s2 (...)
                        ...
                }
        }

        // After sequel s2 is done executing
        // normal execution will resume here

        ...
}

// After sequel s1 is done executing
// normal execution will resume here

...

[edit] References