title = " i j API I "
vals = sprintf("%3.0f",n) + " " + sprintf("%3.0f",m) + " " + sprintf("%3.0f",nlc4) + sprintf("%s",nlc5)
n and m is the type of float and nlc5 is a string
Dear sir or Madam:
I want to write the float and the string data in one file but there is something wrong with it .I do not know how to write the type of string and float together.
The command type of sting is "%s" or "%x" or "%3x" ??? .hope for your help! thank you very much!
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Nov 1 21:15:49 2011
This archive was generated by hypermail 2.1.8 : Fri Nov 04 2011 - 08:43:41 MDT