XML Feeds

.

[javascript-dev] create a list of the last n values (or anything else)

jln julien.rabin at gmail.com
Thu Aug 23 08:00:03 MDT 2007


Le 23 août 07 à 11:37, Jean-Baptiste Thiebaut a écrit :

> I struggled to find a way of doing that with "zl" so I wrote this  
> simple code.


Thanks for sharing. As I'm not good enough with js and struggled to  
find a way to that with it, I maked this simple patch: ;-)

#P outlet 453 500 15 0;
#P inlet 372 130 15 0;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 372 333 27 196617 - 1;
#P newex 399 274 44 196617 t zlclear;
#P newex 453 235 25 196617 iter;
#P newex 372 163 147 196617 route length clear int list float;
#P newex 453 346 38 196617 zl join;
#P newex 469 380 58 196617 zl slice $1;
#P connect 1 0 7 0;
#P connect 1 0 0 0;
#P fasten 5 0 0 1 377 373 522 373;
#P fasten 0 0 1 1 474 420 565 420 565 342 486 342;
#P connect 6 0 2 0;
#P connect 2 0 5 0;
#P connect 2 1 4 0;
#P connect 2 5 3 0;
#P connect 2 3 3 0;
#P fasten 2 2 1 0 431 263 458 263;
#P fasten 2 4 1 0 485 263 458 263;
#P connect 4 0 1 0;
#P fasten 3 0 1 0 458 299 458 299;
#P window clipboard copycount 8;

Best,
Julien.





More information about the javascript-dev mailing list