ArrayArrayArrayArrayArray BrainModular BrainModular Users Forum 2014-10-28T13:29:24+02:00 https://brainmodular.com/forums/app.php/feed/topic/4581 2014-10-28T13:29:24+02:00 2014-10-28T13:29:24+02:00 https://brainmodular.com/forums/viewtopic.php?t=4581&p=30652#p30652 <![CDATA[compare two values?]]>
Queue Data in Array can store values, but only those "if has changed". It has also "force enqueue" that allow enqueued even if value hasn’t changed, but what I want is detect when current values is equal to previous one, so the unchanged values is queued automatically.

Statistics: Posted by r.erorr — 28 Oct 2014, 12:29


]]>
2014-10-28T09:21:45+02:00 2014-10-28T09:21:45+02:00 https://brainmodular.com/forums/viewtopic.php?t=4581&p=30650#p30650 <![CDATA[compare two values?]]> Statistics: Posted by bsork — 28 Oct 2014, 08:21


]]>
2014-10-27T22:36:42+02:00 2014-10-27T22:36:42+02:00 https://brainmodular.com/forums/viewtopic.php?t=4581&p=30648#p30648 <![CDATA[compare two values?]]>
1:[-1]
2:[1] previous value [float] (Copy array[0] to array[1], write value to array[0])
3:[-1]
4:[1] current value [float] (Copy array[0] to array[1], write value to array[0])
5:[-1]

This way your previous value is always there in your array at position one to compare your current value against.

Statistics: Posted by caco — 27 Oct 2014, 21:36


]]>
2014-10-27T15:16:31+02:00 2014-10-27T15:16:31+02:00 https://brainmodular.com/forums/viewtopic.php?t=4581&p=30646#p30646 <![CDATA[compare two values?]]> th

Statistics: Posted by fractalist — 27 Oct 2014, 14:16


]]>
2014-10-27T12:08:11+02:00 2014-10-27T12:08:11+02:00 https://brainmodular.com/forums/viewtopic.php?t=4581&p=30644#p30644 <![CDATA[compare two values?]]>
1:[-1]
2:[1] previous value [float]
3:[-1]
4:[1] current value [float]
5:[-1]

all I want is compare previous value with current one. It must be somehow doable, but I'm totally stuck on this. any ideas?

Statistics: Posted by r.erorr — 27 Oct 2014, 11:08


]]>
BrainModular BrainModular Users Forum 2014-10-28T13:29:24+02:00 https://brainmodular.com/forums/app.php/feed/topic/4581 2014-10-28T13:29:24+02:00 2014-10-28T13:29:24+02:00 https://brainmodular.com/forums/viewtopic.php?t=4581&p=30652#p30652 <![CDATA[compare two values?]]>
Queue Data in Array can store values, but only those "if has changed". It has also "force enqueue" that allow enqueued even if value hasn’t changed, but what I want is detect when current values is equal to previous one, so the unchanged values is queued automatically.

Statistics: Posted by r.erorr — 28 Oct 2014, 12:29


]]>
2014-10-28T09:21:45+02:00 2014-10-28T09:21:45+02:00 https://brainmodular.com/forums/viewtopic.php?t=4581&p=30650#p30650 <![CDATA[compare two values?]]> Statistics: Posted by bsork — 28 Oct 2014, 08:21


]]>
2014-10-27T22:36:42+02:00 2014-10-27T22:36:42+02:00 https://brainmodular.com/forums/viewtopic.php?t=4581&p=30648#p30648 <![CDATA[compare two values?]]>
1:[-1]
2:[1] previous value [float] (Copy array[0] to array[1], write value to array[0])
3:[-1]
4:[1] current value [float] (Copy array[0] to array[1], write value to array[0])
5:[-1]

This way your previous value is always there in your array at position one to compare your current value against.

Statistics: Posted by caco — 27 Oct 2014, 21:36


]]>
2014-10-27T15:16:31+02:00 2014-10-27T15:16:31+02:00 https://brainmodular.com/forums/viewtopic.php?t=4581&p=30646#p30646 <![CDATA[compare two values?]]> th

Statistics: Posted by fractalist — 27 Oct 2014, 14:16


]]>
2014-10-27T12:08:11+02:00 2014-10-27T12:08:11+02:00 https://brainmodular.com/forums/viewtopic.php?t=4581&p=30644#p30644 <![CDATA[compare two values?]]>
1:[-1]
2:[1] previous value [float]
3:[-1]
4:[1] current value [float]
5:[-1]

all I want is compare previous value with current one. It must be somehow doable, but I'm totally stuck on this. any ideas?

Statistics: Posted by r.erorr — 27 Oct 2014, 11:08


]]>