It's about time [message #92461] |
Tue, 22 December 2015 03:36  |
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   |
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  |
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
|
|
|