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

Home » Public Forums » archive » Convert ascii data to binary
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: Convert ascii data to binary [message #42336 is a reply to message #42255] Mon, 31 January 2005 08:42 Go to previous messageGo to previous message
Vince Hradil is currently offline  Vince Hradil
Messages: 574
Registered: December 1999
Senior Member
Okay, here's my guess:

pro ascii2bin, file, outfile

adata = read_ascii(file)
openw, lun, outfile, /get_lun
writeu, lun, adata
free_lun, lun

return
end


stazgal@gmail.com wrote:
> Hi,
>
> I not sure is there any command that i can use to convert ascii data
> to binary form.. Can someone please help me with this. Thanks..
>
> Lyn
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Truncating file with OPENU
Next Topic: Re: flushing stdout

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

Current Time: Thu Oct 09 20:36:36 PDT 2025

Total time taken to generate the page: 1.04252 seconds