flow with 0 & 1 let pass 1 except if there is only 0


    Jan 03 2011 | 9:26 pm
    Hello,
    simple problem but...
    If I have a flow like this 0,0,0,1,0,0 -> I want just 1
    If it's like this 0,0,0,0,0 -> I want 0
    How to do ? (gratte, gratte) :-)
    Thx.

    • Jan 03 2011 | 9:46 pm
      Do you want to keep all of the zeros in the "0,0,0,0,0" list? Here is one (of many) ways to do something like this:
    • Jan 04 2011 | 1:20 am
      Thx you. My question was not enough precise. I didn't explain the context.
      Here's what I wanted to achieve :
    • Jan 04 2011 | 8:36 am
      @vanille béchamel : yes but I need to know when a column is empty.
    • Jan 04 2011 | 1:25 pm
      anyway, thx you very much to point me in th right direction.
      here it is :
    • Jan 04 2011 | 2:31 pm
      There's an easier way to do that.
      _
      johan