That won't work because once you bang the message box with the number "1" it stays at 1 and it doesn't go back to the number "0"

On Sun, Oct 14, 2012 at 2:20 PM, Simon Iten <itensimon@gmail.com> wrote:

Just connect the bang to a messagebox containing 1 ?

On Oct 15, 2012 1:46 AM, "Rick T" <ratulloch@gmail.com> wrote:
Greetings All

I'm trying to output a a number "0" every second (to a text file) unless a bang is sent, in which case a number "1" will be written to the text file instead of a zero.  The problem I'm having is converting a bang into a number.  I tried using moses but moses has no number for bang.  Any work arounds?

Example:
bng
|
moses 1
|          |
0(         1(


Thanks


_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list