Re: Sequence Slicing (Was RE: Tough ciphers?)
- Posted by euman at bellsouth.net Mar 14, 2002
- 410 views
----- Original Message ----- From: "C. K. Lester" <cklester at yahoo.com> > They are of the pattern > > x = x[a+1..length(x)] sequence z integer aout aout = a + 1 integer lenx lenx = length(x) z = repeat(0, lenz - aout) for i = aout to lenx do z[i] = x[i] end for x = z -- or just leave it z instead of the extra copy if you want! BTW, completly untested to work or for speed but I imagine this might be faster....... Euman