compare and output

Jun 2, 2007 at 12:22am

compare and output

Ok I know this is a real easy one but my brain hurts. I need to output only if there is change in a stream of numbers. Not sure how clear that is…I’ve tried using
if $f1 != $f2 then set $f1
but thats not working, and I’ve been through the tutorials and as I’ve said my brain hurts.
Any help would be fantastic

#32235
Jun 2, 2007 at 12:43am

colm skrev:
> Ok I know this is a real easy one but my brain hurts. I need to output only if there is change in a stream of numbers. Not sure how clear that is…I’ve tried using
> if $f1 != $f2 then set $f1
> but thats not working, and I’ve been through the tutorials and as I’ve said my brain hurts.
> Any help would be fantastic
>
>
[Change 0.]
You could alternatively use [bucket 2], [==] and a gate I guess…
Also, searching the reference manual for the word “change” might have
helped ;)

a.

#105658
Jun 2, 2007 at 12:49am

thanks a million, I was doing just that when I saw yer reply. My brain now hurts less and thanks you
c

#105659
Jun 2, 2007 at 12:57am

are you looking for something like the ‘change’ object?

On 6/1/07, colm

wrote:
>
> Ok I know this is a real easy one but my brain hurts. I need to output only if there is change in a stream of numbers. Not sure how clear that is…I’ve tried using
> if $f1 != $f2 then set $f1
> but thats not working, and I’ve been through the tutorials and as I’ve said my brain hurts.
> Any help would be fantastic
>
>

#105660

You must be logged in to reply to this topic.