ArrayArrayArrayArrayArray
BrainModularBrainModular Users Forum2014-10-28T13:29:24+02:00https://brainmodular.com/forums/app.php/feed/topic/45812014-10-28T13:29:24+02:002014-10-28T13:29:24+02:00https://brainmodular.com/forums/viewtopic.php?t=4581&p=30652#p30652 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:002014-10-28T09:21:45+02:00https://brainmodular.com/forums/viewtopic.php?t=4581&p=30650#p30650Statistics: Posted by bsork — 28 Oct 2014, 08:21
]]>
2014-10-27T22:36:42+02:002014-10-27T22:36:42+02:00https://brainmodular.com/forums/viewtopic.php?t=4581&p=30648#p30648 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 fractalist — 27 Oct 2014, 14:16
]]>2014-10-27T12:08:11+02:002014-10-27T12:08:11+02:00https://brainmodular.com/forums/viewtopic.php?t=4581&p=30644#p30644 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
]]>BrainModularBrainModular Users Forum2014-10-28T13:29:24+02:00https://brainmodular.com/forums/app.php/feed/topic/45812014-10-28T13:29:24+02:002014-10-28T13:29:24+02:00https://brainmodular.com/forums/viewtopic.php?t=4581&p=30652#p30652 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:002014-10-28T09:21:45+02:00https://brainmodular.com/forums/viewtopic.php?t=4581&p=30650#p30650Statistics: Posted by bsork — 28 Oct 2014, 08:21
]]>2014-10-27T22:36:42+02:002014-10-27T22:36:42+02:00https://brainmodular.com/forums/viewtopic.php?t=4581&p=30648#p30648 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 fractalist — 27 Oct 2014, 14:16
]]>2014-10-27T12:08:11+02:002014-10-27T12:08:11+02:00https://brainmodular.com/forums/viewtopic.php?t=4581&p=30644#p30644 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