Hi all,
looking at the #key stuff recently, and trying it out, I find that using pack/unpack or select with symbols, e.g. route 0 1 a, gives me error messages and does the wrong things. obviously you all dont have this problem, as it occurs in the help /demoes too...any suggestions what i am missing?
chz,
tm
Here's a patch that might help. The first "route" puts out messages whose selectors are 'a', etc. (I'm not sure this is the right behavior... I'll have to check how Max acts next time I'm around a macintosh... that might be years from now.) Meanwhile:
#N canvas 290 142 411 217 10; #X obj 93 38 r #keyname; #X symbolatom 91 124; #X symbolatom 157 127; #X obj 92 67 route 0 1; #X obj 92 98 symbol; #X obj 157 99 symbol; #X obj 217 122 print a; #X obj 217 97 route a b c; #X obj 267 123 print b; #X obj 316 123 print c; #X connect 0 0 3 0; #X connect 3 0 4 0; #X connect 3 0 7 0; #X connect 3 1 5 0; #X connect 4 0 1 0; #X connect 5 0 2 0; #X connect 7 0 6 0; #X connect 7 1 8 0; #X connect 7 2 9 0;
enjoy... Miller
On Sun, Aug 06, 2000 at 05:10:52PM +0200, Timmy B wrote:
Hi all,
looking at the #key stuff recently, and trying it out, I find that using pack/unpack or select with symbols, e.g. route 0 1 a, gives me error messages and does the wrong things. obviously you all dont have this problem, as it occurs in the help /demoes too...any suggestions what i am missing?
chz,
tm
hi hereŽs my suggestion:
#N canvas 159 129 668 403 10; #X obj 214 40 receive #key; #X obj 93 205 outlet; #X obj 93 40 receive #keyname; #X obj 93 91 pack; #X obj 93 143 unpack; #X floatatom 93 166; #X obj 93 62 trigger f; #X obj 93 116 route 1 0; #X obj 141 143 unpack; #X floatatom 141 166; #X text 27 171 down; #X text 181 167 up; #X obj 141 205 outlet; #X connect 0 0 3 1; #X connect 2 0 6 0; #X connect 3 0 7 0; #X connect 4 0 5 0; #X connect 5 0 1 0; #X connect 6 0 3 0; #X connect 7 0 4 0; #X connect 7 1 8 0; #X connect 8 0 9 0; #X connect 9 0 12 0;
used trigger (t) to seperate the symbols marius.
Timmy B wrote:
Hi all,
looking at the #key stuff recently, and trying it out, I find that using pack/unpack or select with symbols, e.g. route 0 1 a, gives me error messages and does the wrong things. obviously you all dont have this problem, as it occurs in the help /demoes too...any suggestions what i am missing?
chz,
tm
--
\ / Tim Boykett mailto:tim@timesup.org \ / TIME'S UP / Industriezeile 33 B /\ A-4020 Linz /xx\ ph/fax:+43/732-787804 /xxxx\ http://www.timesup.org
Watchout: http://gegenschwarzblau.cjb.net/