How to slice incoming list according to a 'slicing point' ?

Jan 15, 2007 at 12:08am

How to slice incoming list according to a 'slicing point' ?

On 14 janv. 07, at 16:20, jln wrote:

> I feel small… ;-)

il faut manger de la soupe ;-)

ej

#29760
Jan 15, 2007 at 6:26pm

f.e wrote:
> Receiving 0 1 2 247 3 4 5 6 7 8 247, how to slice in two lists, 0 1 2
> 247 and 3 4 5 6 7 8 247, because 247 would be the slicing point ?

easy puzzle (I should not do puzzles on mondays…;-):
I know I am slow, its just a different solution worthwhile…

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 74 205 50 196617 print;
#P newex 74 131 50 196617 t i i;
#P newex 74 152 44 196617 sel 247;
#P newex 74 178 50 196617 zl group;
#P newex 74 109 50 196617 iter;
#P message 74 84 155 196617 0 1 2 247 3 4 5 6 7 8 247;
#P connect 2 0 5 0;
#P fasten 4 1 2 0 119 173 79 173;
#P connect 4 0 3 0;
#P connect 1 0 4 0;
#P connect 3 0 2 0;
#P connect 0 0 1 0;
#P window clipboard copycount 6;


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com

#93541

You must be logged in to reply to this topic.