--001636284e58aba37e0473a22758 Content-Type: text/plain; charset=ISO-8859-1 Matt, On Tue, Sep 15, 2009 at 11:15 AM, Matt Brooks <mattbrooks / gatech.edu> wrote: > Hi John, > ... > while index < num_signals > sig_1 ignal.new > .... > .... > end > I would create an array of the objects. It's not a matter of throwing away arrays or hashes but better organization of your data into objects rather then layers of data in hashes and array will just make things easier. For example sig_array rray.new while index < num_signals sig ignal.new sig.id .. ... sig_array << sig end > Also, I would need a way to overwrite and kill all the objects every 10 > seconds or so, when all the signals update with different information. > Is that possible? > Just clear the array when you want to drop everything sig_array.clear John --001636284e58aba37e0473a22758--