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

Home » Public Forums » archive » It's about time
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
It's about time [message #92461] Tue, 22 December 2015 03:36 Go to next message
Helder Marchetto is currently offline  Helder Marchetto
Messages: 520
Registered: November 2011
Senior Member
Hi,

bstr = [[32b, 32b, 32b, 32b, 32b, 62b, 60b, 0b, 0b, 0b, 0b, 0b, 0b, 0b, 0b],$
[32b, 32b, 32b, 32b, 32b, 47b, 92b, 0b, 0b, 0b, 0b, 0b, 0b, 0b, 0b],$
[32b, 32b, 32b, 32b, 47b, 32b, 39b, 92b, 0b, 0b, 0b, 0b, 0b, 0b, 0b],$
[32b, 32b, 32b, 32b, 47b, 42b, 32b, 92b, 0b, 0b, 0b, 0b, 0b, 0b, 0b],$
[32b, 32b, 32b, 47b, 32b, 111b, 32b, 39b, 92b, 0b, 0b, 0b, 0b, 0b, 0b],$
[32b, 32b, 32b, 47b, 32b, 39b, 42b, 32b, 92b, 0b, 0b, 0b, 0b, 0b, 0b],$
[32b, 32b, 47b, 32b, 39b, 32b, 111b, 32b, 37b, 92b, 0b, 0b, 0b, 0b, 0b],$
[32b, 32b, 47b, 32b, 42b, 32b, 32b, 42b, 32b, 92b, 0b, 0b, 0b, 0b, 0b],$
[32b, 47b, 95b, 95b, 95b, 95b, 37b, 95b, 95b, 95b, 92b, 0b, 0b, 0b, 0b],$
[32b, 32b, 32b, 95b, 124b, 95b, 95b, 124b, 95b, 0b, 0b, 0b, 0b, 0b, 0b],$
[32b, 32b, 32b, 92b, 95b, 95b, 95b, 95b, 47b, 0b, 0b, 0b, 0b, 0b, 0b],$
[77b, 101b, 114b, 114b, 121b, 32b, 67b, 104b, 114b, 105b, 115b, 116b, 109b, 97b, 115b]]
if !version.release ge '8.3' then print, string(bstr), /implied_print $
else for i=0,11 do print, string(bstr[*,i])

Cheers,
Helder
Re: It's about time [message #92462 is a reply to message #92461] Tue, 22 December 2015 05:47 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Helder writes:

> bstr = [[32b, 32b, 32b, 32b, 32b, 62b, 60b, 0b, 0b, 0b,
0b, 0b, 0b, 0b, 0b],$
> [32b, 32b, 32b, 32b, 32b, 47b, 92b, 0b, 0b, 0b, 0b, 0b, 0b, 0b, 0b],$
> [32b, 32b, 32b, 32b, 47b, 32b, 39b, 92b, 0b, 0b, 0b, 0b, 0b, 0b, 0b],$
> [32b, 32b, 32b, 32b, 47b, 42b, 32b, 92b, 0b, 0b, 0b, 0b, 0b, 0b, 0b],$
> [32b, 32b, 32b, 47b, 32b, 111b, 32b, 39b, 92b, 0b, 0b, 0b, 0b, 0b, 0b],$
> [32b, 32b, 32b, 47b, 32b, 39b, 42b, 32b, 92b, 0b, 0b, 0b, 0b, 0b, 0b],$
> [32b, 32b, 47b, 32b, 39b, 32b, 111b, 32b, 37b, 92b, 0b, 0b, 0b, 0b, 0b],$
> [32b, 32b, 47b, 32b, 42b, 32b, 32b, 42b, 32b, 92b, 0b, 0b, 0b, 0b, 0b],$
> [32b, 47b, 95b, 95b, 95b, 95b, 37b, 95b, 95b, 95b, 92b, 0b, 0b, 0b, 0b],$
> [32b, 32b, 32b, 95b, 124b, 95b, 95b, 124b, 95b, 0b, 0b, 0b, 0b, 0b, 0b],$
> [32b, 32b, 32b, 92b, 95b, 95b, 95b, 95b, 47b, 0b, 0b, 0b, 0b, 0b, 0b],$
> [77b, 101b, 114b, 114b, 121b, 32b, 67b, 104b, 114b, 105b, 115b, 116b, 109b, 97b, 115b]]
> if !version.release ge '8.3' then print, string(bstr), /implied_print $
> else for i=0,11 do print, string(bstr[*,i])

Had to go looking for my instructions for running IDL again. Totally
worth it! :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
Re: It's about time [message #92474 is a reply to message #92461] Wed, 23 December 2015 07:55 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Tuesday, December 22, 2015 at 6:36:21 AM UTC-5, Helder wrote:
...
> if !version.release ge '8.3' then print, string(bstr), /implied_print $
> else for i=0,11 do print, string(bstr[*,i])
>
> Cheers,
> Helder

Cute! Thanks
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: decimal precision
Next Topic: round to x number of decimals within floating point value?

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

Current Time: Wed Oct 08 15:12:57 PDT 2025

Total time taken to generate the page: 0.07007 seconds