[maxmsp] Re: Output of an if statement
Emmanuel Jourdan
c74-mailinglists at e--j.com
Mon Jul 2 07:45:49 MDT 2007
- Previous message: [maxmsp] Re: Output of an if statement
- Next message: [maxmsp] Re: Output of an if statement
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 2 juil. 07, at 15:38, justin wrote: > yes, $f1 (float variable) as opposed to $i1 (integer variable). > also be careful of the order of messages, you may need to > calculate before you send to the if object... Here's two differents ways to achieve the same thing. There's plenty of others… ej #P window setfont "Sans Serif" 9.; #P flonum 254 161 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P number 254 61 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P window linecount 1; #P newex 254 123 62 196617 minimum 1.; #P newex 254 94 34 196617 / 44.; #P flonum 39 161 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P number 39 61 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 39 123 34 196617 / 44.; #P newex 39 94 157 196617 if $i1 < 44. then $i1 else out2 1.; #P connect 4 0 5 0; #P connect 5 0 7 0; #P connect 6 0 4 0; #P connect 0 1 3 0; #P connect 1 0 3 0; #P connect 0 0 1 0; #P connect 2 0 0 0; #P window clipboard copycount 8;
- Previous message: [maxmsp] Re: Output of an if statement
- Next message: [maxmsp] Re: Output of an if statement
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
