stringtochar function

From: Xin Xi <xxi_at_nyahnyahspammersnyahnyah>
Date: Sun Jul 08 2012 - 23:27:00 MDT

Hi there,
when I use the stringtochar function, the resulting char array has an
ending element of "0x00". This cause the unmatched dimension size error
while I tried to assign the char array to a variable (with a dimension of
the string length). I donot understand how the "0x00" relates to the
missing value of original string (as detailed on the ncl webpage of the
stringtochar function). And how can I avoid it? Can someone clarify for me.
Thanks!
Xin

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Sun Jul 8 23:27:09 2012

This archive was generated by hypermail 2.1.8 : Mon Jul 09 2012 - 10:45:32 MDT