comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: Re: printing hexadecimal

Re: printing hexadecimal
type: item
description: 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.")
creator: David Fanning
date: 2006-11-01T14:57:38-00:00

Re: printing hexadecimal
type: item
description: Well, there ya go. I knew someone would do the grunt work for me. And so cheerfully too. I would have simply said "RTFM". r David Fanning wrote: > 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.")
creator: Robert Moss, PhD
date: 2006-11-02T16:21:05-00:00