counter in negative numbres

Oct 11, 2006 at 3:29pm

counter in negative numbres

#28082
Oct 11, 2006 at 3:46pm

Like this?

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P comment 632 576 30 196617 down;
#P newex 632 607 27 196617 i;
#P newex 602 607 27 196617 i;
#P button 632 590 15 0;
#P newex 632 627 27 196617 – 1;
#P number 602 648 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 602 627 27 196617 + 1;
#P button 602 590 15 0;
#P comment 603 576 20 196617 up;
#P connect 2 0 3 0;
#P connect 2 0 6 1;
#P connect 2 0 7 1;
#P connect 4 0 3 0;
#P connect 4 0 6 1;
#P connect 4 0 7 1;
#P connect 5 0 7 0;
#P connect 1 0 6 0;
#P connect 6 0 2 0;
#P connect 7 0 4 0;
#P window clipboard copycount 9;

Mattijs

#85808
Oct 11, 2006 at 3:52pm

[counter 1 -5 5]

?

#85809
Oct 11, 2006 at 4:02pm

why not. I’ll pile this on.

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P message 100 72 14 196617 1;
#P message 74 71 19 196617 -1;
#P newex 80 100 27 196617 t b i;
#P newex 79 134 103 196617 accum;
#B color 5;
#P number 79 154 43 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P connect 3 0 2 0;
#P connect 4 0 2 0;
#P connect 2 1 1 1;
#P connect 2 0 1 0;
#P connect 1 0 0 0;
#P window clipboard copycount 5;

#85810
Oct 11, 2006 at 4:18pm

#85811
Oct 11, 2006 at 4:46pm

try this one

max v2;
#N vpatcher 133 243 353 522;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P hidden newex 68 54 48 196617 loadbang;
#P number 68 181 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 68 157 80 196617 scale 0 10 -5 5;
#P toggle 68 83 15 0;
#P newex 68 106 58 196617 metro 250;
#N counter 2 0 10;
#X flags 0 0;
#P newobj 68 131 77 196617 counter 2 0 10;
#P hidden connect 5 0 2 0;
#P connect 2 0 1 0;
#P connect 1 0 0 0;
#P connect 0 0 3 0;
#P connect 3 0 4 0;
#P pop;

#85812
Oct 11, 2006 at 9:03pm

Thanks a lot, I expanded to this
cheers
Adina

max v2;
#N vpatcher 100 100 865 747;
#P origin 63 207;
#P window setfont “Sans Serif” 12.;
#P window linecount 1;
#P comment 134 461 42 196620 1255;
#P comment 82 462 39 196620 -255;
#P button 97 437 15 0;
#P button 140 439 15 0;
#P button 65 286 15 0;
#P button 263 277 15 0;
#P comment 14 121 100 196620 up;
#P number 274 197 35 12 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 81 197 35 12 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 46 197 16 196620 0;
#P message 24 197 16 196620 1;
#P newex 26 230 75 196620 metro 200;
#P message 228 197 16 196620 0;
#P message 206 197 16 196620 1;
#P newex 208 230 75 196620 metro 200;
#P newex 108 364 120 196620 select -255 1255;
#P window setfont “Sans Serif” 9.;
#P comment 144 155 30 196617 down;
#P newex 141 293 27 196617 i;
#P newex 111 293 27 196617 i;
#P button 167 197 15 0;
#P newex 141 313 27 196617 – 1;
#P number 109 341 71 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 111 313 27 196617 + 1;
#P button 134 197 15 0;
#P comment 115 155 20 196617 up;
#P window setfont “Sans Serif” 12.;
#P comment 202 121 100 196620 down;
#P fasten 10 0 15 0 62 382 3 190;
#P connect 15 0 14 0;
#P connect 16 0 14 0;
#P fasten 10 1 16 0 52 409 11 256 18 178 44 193;
#P fasten 14 0 21 0 31 269 70 269;
#P connect 17 0 14 1;
#P fasten 10 0 23 0 113 411 102 411;
#P connect 4 0 10 0;
#P connect 5 0 4 0;
#P connect 3 0 4 0;
#P fasten 14 0 7 0 31 272 116 272;
#P fasten 2 0 7 0 139 238 116 238;
#P connect 7 0 3 0;
#P connect 5 0 7 1;
#P connect 3 0 7 1;
#P fasten 10 1 22 0 168 412 145 412;
#P fasten 11 0 8 0 213 264 146 264;
#P fasten 6 0 8 0 172 238 146 238;
#P connect 8 0 5 0;
#P connect 5 0 8 1;
#P connect 3 0 8 1;
#P fasten 10 1 12 0 251 431 338 199 299 141;
#P connect 12 0 11 0;
#P connect 13 0 11 0;
#P fasten 10 0 13 0 316 478 316 286 386 112 238 189;
#P fasten 11 0 20 0 213 256 268 256;
#P connect 18 0 11 1;
#P pop;

#85813
Oct 11, 2006 at 9:06pm

#85814
Oct 16, 2006 at 2:04pm

#85815

You must be logged in to reply to this topic.