Hi Xueming,
Your message came through on ncl-talk just fine.
To print an array of values without all the header information is sort of weird:
s = (/"one","two","three","four"/)
print(""+s)
Whenever you "print" an operation on a variable, like "a+b", you are no longer just printing the variable itself, so it then doesn't print the variable information.
You will still get the "(0)", "(1)" counters though.
--Mary
On Jul 17, 2013, at 8:44 AM, 朱学明 wrote:
>
>
> Hi Mary,
> Because I can not post to ncl-talk mail list, I just send my question to you directly. Hopfully you can understand. I really don't know how to fix it. It is very strange for me.
>
> My question is how can I print out the values of stings only, without a summary of the variable's information?
> Thanks.
>
> --
> Xueming Zhu 朱学明
> Key Laboratory of Research on Marine Hazards Forecasting(LoMF),SOA
> National Marine Environmental Forecasting Center(NMEFC)
> No.8, Dahuisi Road, Haidian District, Beijing , 100081
> People's Republic of China
> Tel:+86-10-82481923
>
>
>
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Jul 17 09:18:49 2013
This archive was generated by hypermail 2.1.8 : Fri Jul 19 2013 - 15:39:06 MDT