Re: how to print string

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Wed Jul 17 2013 - 09:55:06 MDT

>>
>>
>> Re: [ncl-talk] how to print string.eml
>> 主 题: Re: [ncl-talk] how to print string
>> 发 件人: "朱学明" <zhuxueming557@gmail.com>
>> 日 期: 2013/7/17 23:46
>> 收 件人: ncl-talk@ucar.edu
>> Hi Mary,
>> Sorry, I can not understand you very clear. Do you mean I can not just get the values of a string?
>>
>> ttime=f->$"Times"$(2,:)
>> print(ttime)
>>
>> Above is what I have used, but it prints out lot of things.

What I showed you below will work for the above statement, but you need to add a ""+ in front of ttime:

   print(""+ttime)

I agree that it's a little frustrating that you get all that additional information when you use:

print(ttime)

I will create a ticket to see if we can come up with a "print values" only procedure.

--Mary

>>
>> 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
>>
>> 于 2013/7/17 23:18, Mary Haley 写道:
>>> 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
>>
>>   Regards.
>> Yours sincerely,
>> Xueming Zhu
>>
>> 于 2013/7/17 23:39, Mary Haley 写道:
>>> I believe your posts are going through now, as I just saw a message from you in ncl-talk.
>>>
>>> --Mary
>>>
>>> On Jul 17, 2013, at 8:54 AM, 朱学明 wrote:
>>>
>>>
>>>> Hi David,
>>>> I just remembered that my
>>>> zhuxm@nmefc.gov.cn
>>>> mail server had some problems since July 1-7. For those days, my this address can not recieve any e-mail, so many e-mails from ncl-talk would be rejected. Then I recieved one email from ncl-talk-request tell me that my membership has been disabled due to excessive bounces, it has been followed behind. I don't know this information whether is helpful for you to figure out my problem. Thanks.
>>>>
>>>> Your membership in the mailing list ncl-talk has been disabled due to
>>>> excessive bounces The last bounce received from you was dated
>>>> 01-Jul-2013. You will not get any more messages from this list until
>>>> you re-enable your membership. You will receive 2 more reminders like
>>>> this before your membership in the list is deleted.
>>>>
>>>> To re-enable your membership, you can simply respond to this message
>>>> (leaving the Subject: line intact), or visit the confirmation page at
>>>>
>>>>
>>>>
>>>> http://mailman.ucar.edu/mailman/confirm/ncl-talk/7d81bcc09d987702f03e78d92340ac6fc95cd638
>>>>
>>>>
>>>>
>>>>
>>>> You can also visit your membership page at
>>>>
>>>>
>>>>
>>>> http://mailman.ucar.edu/mailman/options/ncl-talk/zhuxm%40nmefc.gov.cn
>>>>
>>>>
>>>>
>>>>
>>>> On your membership page, you can change various delivery options such
>>>> as your email address and whether you get digests or not. As a
>>>> reminder, your membership password is
>>>>
>>>> avmiuvze
>>>>
>>>> If you have any questions or problems, you can contact the list owner
>>>> at
>>>>
>>>>
>>>>
>>>> ncl-talk-owner@ucar.edu
>>>>
>>>>
>>>>   Regards.
>>>> Yours sincerely,
>>>> Xueming Zhu
>>>>
>>>>
>>>>
>>>
>>
>

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Jul 17 09:55:18 2013

This archive was generated by hypermail 2.1.8 : Fri Jul 19 2013 - 15:39:06 MDT