Re: hexadecimal from byte?

From: <asphilli_at_nyahnyahspammersnyahnyah>
Date: Thu, 17 Jan 2008 16:10:49 -0700 (MST)

Hi Andrea,

The conversion is done automatically behind-the-scenes in most cases. For
instance:

a = 2
b = "Quantity needed: "+a
printVarSummary(b)
print(b)

or
a = 2
b = "Hello"
b = a
print(b)

Adam

> Reading the documentation, I have found that I can convert an
> hexadecimal number to integer using the function "stringtointeger". Is
> there a function to do the conversion back? If not, perhaps somebody
> has already written such a thing?
>
> Thanks,
> Andrea
>
> --
> ----------------------------------------------------------------
> Andrea N. Hahmann, Ph.D.
> Research Applications Laboratory
> Natl. Center for Atmospheric Research Phone: 1-303-497-8383
> PO BOX 3000 Fax: 1-303-497-8401
> Boulder, CO 80301 hahmann_at_ucar.edu
> ----------------------------------------------------------------
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Jan 17 2008 - 16:10:49 MST

This archive was generated by hypermail 2.2.0 : Wed Jan 23 2008 - 14:19:33 MST