ass 30
' 1-dimensional cellular automata.
'
' This has been shown to produce demonstrably more random
' output that any of the shift register approaches normally used,
' in which clear patterns emerge when the numbers are plotted
' relative to the prior numbers in the sequence.
'

Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" ( _
    lpvDest As Any, lpvSource As Any, ByVal cbCopy As Long)

Private m_lSize As Long
Private m_cells() As Byte
Private m_iIndex As Long


Public Function next