Stream of numbers
by Jim Darski on Feb 6, 2013 at 7:22:47 pm
Interestingly, I could not find an answer to this even after searching for a while. But this HAS HAD to be asked before!
Anyway, I need to create a stream of numbers: 0s and 1s. Let say I have 20 digit long text line of 0s and 1s distributed randomly. The number of digits have to stay the same. But new 0s and 1s need to appear in the beginning of the line pushing the other ones over. I've seen this kind of "Matrix-like" data streams all over the place. But I can't figure out an easy way to do it.