On 11/18/06, Hal Fulton <hal9000 / hypermetrics.com> wrote:
> Pawel Szymczykowski wrote:
> > Hi all,
> >
> > http://www.edibleunknown.com/articles/2006/11/17/cooking-with-trek-the-motion-picture
>
> As Zefrem Cochrane is my witness, that is the strangest thing
> I have heard of in a week.

Glad to have raised an eyebrow. :) Your new book is great by the way!

> I'll have to look at the original and think about this.
> Have you considered just fixing all the array handling,
> since you're porting anyway?

Do you mean for the 0-vs-1 based arrays? I had considered it, but I
kind of wanted to keep the original indexes to keep it looking close
to the original. If I was going to go about it in a sensible way
though, I guess it would just be a series of puts statements though or
at least a more ruby-like obfuscation.

Here's a text version that compiles under f77 by the way:
http://www.edibleunknown.com/files/trek.f

I didn't really know anything about fortran going in, so I had to play
around with the original to see what the result was supposed to be
first.

> It's possible to write Fortran in any language. ;)

Ah yes, I've heard this corollary and it was part of my inspiration.

> You're not a fool, you're just eccentric... as are many of us here...

Thanks!

-Pawel