The two handler types have different call signatures. When you register the handler, you are telling the interpreter which call signature is used to call the handler.
Rick On Mon, Jan 28, 2019 at 1:43 PM Rony G. Flatscher <rony.flatsc...@wu.ac.at> wrote: > Question ad new C++ method "context->AddCommandEnvironment(name, handler, > type);", where the documentaiton for "type" reads: > > "type": The type of command handler to add. DIRECT_COMMAND_ENVIRONMENT for > a command handler with no support for redirection. > REDIRECTING_COMMAND_ENVIRONMENT for a command handler that supports > redirection. > > How would the "handler" become able to support the new > "REDIRECTING_COMMAND_ENVIRONMENT" ability? How could the "handler" > determine whether redirection is in place and if so, what should it > do/support for each kind of redirection? > > ---rony > > > _______________________________________________ > Oorexx-devel mailing list > Oorexx-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/oorexx-devel >
_______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel