max v2; #N vpatcher 262 144 1120 765; #P window setfont "Sans Serif" 14.; #P number 348 256 35 14 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 357 210 27 196622 - 5; #P message 384 139 26 196622 14; #P message 332 139 26 196622 12; #P button 365 101 15 0; #P number 124 265 35 14 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 133 219 27 196622 - 5; #P message 119 148 26 196622 14; #P message 165 147 26 196622 12; #P button 141 110 15 0; #P newex 547 118 103 196622 trigger 12 14; #P number 567 300 49 14 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P button 548 74 27 0; #P newex 567 261 35 196622 - 5; #P comment 8 39 248 196622 Right-to-Left Precedence in Max; #P comment 33 296 268 196622 The first time you click bang here \, you will get 7 instead of -2 as you might expect. That's because of right-to-left precedence: the 12 arrives in the left inlet of the subtract object before the 14 ever gets a bang message.; #P comment 31 446 277 196622 You can follow the "order of operations" in slow motion by using the Trace menu.; #P comment 315 287 189 196622 this works correctly because we've moved the 14 to the right of the 12 \, so it now gets the bang first.; #P comment 549 339 211 196622 Or we can use the trigger object to make it even clearer the order in which messages are getting sent out.; #P connect 9 0 11 0; #P connect 12 0 13 0; #P connect 10 0 12 0; #P connect 11 0 12 1; #P connect 9 0 10 0; #P connect 14 0 15 0; #P connect 17 0 18 0; #P connect 15 0 17 0; #P connect 16 0 17 1; #P connect 14 0 16 0; #P connect 6 0 8 0; #P connect 8 0 5 0; #P connect 5 0 7 0; #P connect 8 1 5 1; #P pop;