how to calculate the array defined by the function "new"

From: Jie Tang <totangjie_at_nyahnyahspammersnyahnyah>
Date: Tue Dec 13 2011 - 07:41:05 MST

hi,ncl user group.
 I have such a script shown as below
begin
aa=new((/5,5/),"integer",6)
bb=new((/5,5/),"integer",3)
cc=aa+bb
print(cc)
end

in my mind ,every element of cc should be 9.but print(cc)shows that cc is 6
,can
anyone tell why ?or how to add these two array together?

thank you .

-- 
TANG Jie

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Dec 13 07:41:46 2011

This archive was generated by hypermail 2.1.8 : Fri Dec 16 2011 - 10:27:49 MST