got pointer problem when trying with mean function

array!
Well, yeah! i should tried it that way...
Thanks!

i feel idiot...