comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: reading unformatted data into a structure
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: reading unformatted data into a structure [message #29733 is a reply to message #29729] Tue, 19 March 2002 08:49 Go to previous messageGo to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
>> Also, I know I have seen this but how do I convert the decimal ASCII
chars
>> in my bytarr's to a string?
>
> Use the STRING function:
>
> Print, String(header.projection)
>

I actually want the ASCII characters that the char array refers to.
Interestingly, when I do use the string function I get a blank line. I have
tried different format statements to no avail.

IDL> print,header.datum
0 0 87 71 83 56 52 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0
IDL> print,string(header.datum)

IDL>


-Rick
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Image editing with IDL?
Next Topic: days of the week

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 10:30:52 PDT 2025

Total time taken to generate the page: 0.47923 seconds