[gradsusr] Writing own texts into file

Charles Seman Charles.Seman at noaa.gov
Tue Jun 15 11:21:10 EDT 2010


Jonas,

Try something like:

dummy=write('myfile.txt', 'temperature: 'result, 1)


Hope this helps,
Chuck

Jonas Kaufmann wrote:
> Hello,
>
> I am currently writing some data into text files via
>
> 'd tmp2m'
> dummy=write('myfile.txt', result, 1)
>
> Now I would like to add some custom information into this file, e.g.
> writing some comments in it. I tried something like
>
> 'say temperature'
> dummy=write('myfile.txt', result, 1)
> 'd tmp2m'
> dummy=write('myfile.txt', result, 1)
>
> ...but this failed. Is this possible, and if so, how can I do this?
>
> Best regards,
> Jonas Kaufmann
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>   

-- 

Please note that Charles.Seman at noaa.gov should be considered my NOAA
email address, not cjs at gfdl.noaa.gov.

********************************************************************
 Charles Seman                                Charles.Seman at noaa.gov
 U.S. Department of Commerce / NOAA / OAR
 Geophysical Fluid Dynamics Laboratory         voice: (609) 452-6547
 201 Forrestal Road                              fax: (609) 987-5063
 Princeton, NJ  08540-6649            http://www.gfdl.noaa.gov/~cjs/
********************************************************************

"The contents of this message are mine personally and do not reflect any
official or unofficial position of the United States Federal Government,
the United States Department of Commerce, or NOAA."




More information about the gradsusr mailing list