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

Home » Public Forums » archive » BINARY FILES
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: BINARY FILES [message #22067 is a reply to message #21979] Fri, 13 October 2000 00:00 Go to previous messageGo to previous message
John-David T. Smith is currently offline  John-David T. Smith
Messages: 384
Registered: January 2000
Senior Member
David Fanning wrote:
>
> mohamed nur (mohamed_nur@my-deja.com) writes:
>
>> I've been dealing with binary files and every case i had to know before
>> hand the dimensions of the array to setup an IDL variable of the said
>> dimesions and read the unformatted data into.
>>
>> But is it possible or is there a method (in IDL 5.2/5.3) to read it in
>> with no knowledge of the dimensions of the array.
>
> A free Second Edition IDL Programming Techniques book
> to the first person who can find the simple word I
> embedded in this binary sequence:
>
> 0 1 1 0 1 0 0 0 0 0 0 0 0 0 1 1 0 0 1
> 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 1 0 0 0
> 0 0 0 0 0 0 0 0 1 1 1 0 1 1 0 0 0 0 0
> 0 0 0 0 0 1 1 0 1 0 0 1 0 0 0 0 0 0 0
> 0 0 1 1 0 0 1 0 0 1 0 1 0 0 0 1 0 1 1
> 0 0 0 0 1 0 0 0 1 1 0 1 1 0 0 0 0 1 0
>


Hmm... all ascii letters at any offset:

0:hH
1:Ja
2:XF
3:
4:Qa
5:ddvid
6:El
7:

Offset 5 looks promising. Do we get extra points for detecting typoes?
Does the german Ja or spanish El count?

JD


--
J.D. Smith | WORK: (607) 255-6263
Cornell Dept. of Astronomy | (607) 255-5842
304 Space Sciences Bldg. | FAX: (607) 255-5875
Ithaca, NY 14853 |
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: selecting radnom number from 2D array
Next Topic: LOADCT is not working

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

Current Time: Fri Oct 10 14:57:48 PDT 2025

Total time taken to generate the page: 2.07860 seconds