Forums > MaxMSP

unexpected send behaviour

August 7, 2007 | 10:41 pm

Good evening,

I am trying to send a message through a send/receive pair. But as soon as the message starts with "preset", I am getting a "warning: send: extra arguments for message preset". To clarify what I mean …

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 134 201 26 9109513 print;
#P message 135 122 58 9109513 preset x y z;
#P newex 134 174 58 9109513 receive test;
#P newex 135 147 47 9109513 send test;
#P connect 1 0 3 0;
#P connect 2 0 0 0;
#P pop;

Why is this happening and how can I force a message starting with "preset" through?

Kind Regards
Zsolt Marx



August 8, 2007 | 1:05 am

so you can use this :
see the [message box] help for details on the ; feature :

max v2;
#N vpatcher 355 128 595 322;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 71 58 83 9109513 ; test preset x y z;
#P newex 71 113 26 9109513 print;
#P newex 71 86 58 9109513 receive test;
#P comment 11 59 61 9109513 click on this;
#P connect 1 0 2 0;
#P pop;


August 8, 2007 | 7:56 am

Damn, I really need to work on my forum search skills ;)

Many thanks,
Zsolt


Viewing 4 posts - 1 through 4 (of 4 total)