2 Jun
2006
2 Jun
'06
8:28 p.m.
Hi, I tried an example from syst-gen.tex \def\dosomething#1{(#1=\commalistsize) } \getcommalistsize [\hbox{$a,b,c,d,e,f$}] \dosomething 1 \getcommalistsize [{a,b,c,d,e,f}] \dosomething 1 \getcommalistsize [{a,b,c},d,e,f] \dosomething 4 \getcommalistsize [a,b,{c,d,e},f] \dosomething 4 \getcommalistsize [a{b,c},d,e,f] \dosomething 4 \getcommalistsize [{a,b}c,d,e,f] \dosomething 4 \getcommalistsize [] \dosomething 0 \getcommalistsize [{[}] \dosomething 1 And it gives me (1=1) (1=6) (4=4) (4=4) (4=4) (4=4) (0=0) (1=1) Notice that \getcommalistsize[{a,b,c,d,e,f}] gives 6. Is this expected behaviour or a bug? Aditya