On Feb 14, 2011, at 10:23, Glenn Knickerbocker wrote:

> On 02/14/2011 11:29 AM, Paul Gilmartin wrote:
>> 'callpipe var dataline | append *.input: | *.output:'
>
> Think for a second about the context of *.input: here.  It's being used
> in a pipeline added by APPEND, so it refers to APPEND's input, not the
> input of your stage that issued the CALLPIPE.  ,,,
>
Gaaaaah!  Thanks.

>  'callpipe *: | preface var dataline | *:'
>
>  'output' dataline
>  'short'
>
Does 'short' operate always on the currently selected input and
output connectors?  If so:

    callpipe *.input.M: | *.output.N:  /* Punctuate to taste.  */

should be equivalent to:

    streamnum input *
    I = RC
    select input M
    streamnum output *
    O = RC
    select output N
    short
    if I>=0 then select input I    /* Restore connections.  */
    if O>=0 then select output O

Ugh!  Can this be shortened?

Do both report errors in RC identically?  (Or are any errors
reported for either construct once the stage is committed?)

Thanks,
gil

Reply via email to