On 09/07/2011 01:38 PM, Paul Gilmartin wrote:
> How might I do this with other stages?  I suppose I haven't sufficient 
> stamina.

No other stages, just one huge FANINANY with at least as many input
streams as you might ever need:

  addpipe = 'addpipe (end ?) *.out: | f: faninany | *.out:'
  'maxstream output'
  oldstreams = rc
  maxstreams = 10000 /* for example */
  Do i = oldstreams+1 to oldstreams+maxstreams
    'addstream output'
    addpipe = addpipe '? *.out.'i': | f:'
  End
  addpipe

Then just connect each new pipeline to the next available output.  And,
actually, when you run out, you can use this exact same routine again to
add another big FANINANY.

¬R

Reply via email to