On Thu, Jun 30, 2011 at 2:50 PM, Frank M. Ramaekers <[email protected]> wrote: > > I want to read the stack in the middle of a pipe. How? For example, > GETFMADR puts information on the stack. How can it be retrieved from > PIPE? > > > > "PIPE LITERAL GETFMADR | CMS | (pull from stack) | ..."
(using "command" to discourage Sir Kris from warning you about the virtues of command resolution in CMS... ) literal GETFMADR | command | append stack | .. That gives you both. The output of the command followed by what's on the stack. You could also have " ..| hole | append stack | ..." if you just want the stack, or " .. | preface stack | .. " to get the stacked lines first. | Sir Rob the Plumber
