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

Home » Public Forums » archive » Re: printing hexadecimal
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: printing hexadecimal [message #51008] Wed, 01 November 2006 06:57 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Robert Moss, PhD writes:

> Being the lazy sort, I'm wondering if there is a built-in or user
> routine around that will accept an array of bytes and output them (to
> screen or file) as hexidecimal out there. I could write one, but as I
> said, I'd prefer to have someone else to the grunt work :)

Uh, I think IDL has already thought of this:

IDL> var = bindgen(20)
IDL> Print, var, Format='(20(z2.2,x))'

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Previous Topic: Re: IDL Fonts
Next Topic: IDL Fonts

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

Current Time: Sun Oct 12 08:42:39 PDT 2025

Total time taken to generate the page: 1.28474 seconds