Re: Fortran unformatted data: Big or little endian [message #34927 is a reply to message #34925] |
Fri, 02 May 2003 09:54   |
btt
Messages: 345 Registered: December 2000
|
Senior Member |
|
|
Dick Jackson wrote:
> "David Fanning" <david@dfanning.com> wrote in message
> news:MPG.1919f143d8713cba989b7a@news.frii.com...
>
>> Mark Hadfield (m.hadfield@niwa.co.nz) writes:
>>
>>
>>> That's "Winnie", short for Winston, not "Whinnie", for the noise a
>>
> horse
>
>>> makes. (It's nice to be right occasionally about *something*.)
>>
>
> Spelling's right, just a bit off on the explanation. I'd be remiss if I
> didn't kindly point out that the name Winnie comes indirectly from the
> name of my home town, Winnipeg. Photos and more at
> http://www.just-pooh.com/history.html
>
>
>> Oh, maybe that's what my spell checker was complaining
>> about. Oh, well, join the club (said in my best Eyore
>> voice).
>
>
> I don't suppose I should mention "Eeyore"... ;-)
>
> Back to our regularly scheduled digression.
Oh, silly old bear!
Winnie, as it turns out, comes from 'Edward Bear' not Winston. But that
secret is only known to those of use who have read the first chapter ten
million times in the last six months at kiddie bed time.
But you know, Pooh and his house could be a good example for how an
object might work. Let's see...
Pooh leaves his house one morning to find Piglet. Not finding him, Pooh
returns home to discover Piglet on his doorstep. Piglet has come to see
Pooh, but no one answers his knock at the door. So Pooh steps up to the
door and helps Piglet knock. After a while, Pooh says, "There isn't
anyone home."
So Pooh has three methods for interacting with the house object:
IDL> Pooh->Knock
IDL> response = Pooh->Listen()
IDL> isHome = Pooh->Decide(response)
Pooh isn't allowed to see the contents of other objects' properties
(like the house object's property of the number of occupants.) Pooh has
to use his own three methods to determine the status of the other and he
isn't allowed to cheat (as if he would!) with his insider knowledge that
he *knew* nobody was home at his own house.
Geez, maybe it's a wobbly example (like Pooh's spelling) after all.
Come on David, chime in anytime now - you've read Pooh a lot I'm sure.
Cheers,
Ben
|
|
|