On Thu, 28 Aug 2003 19:32, you wrote:
> Nick Rout <[EMAIL PROTECTED]> writes:
> > while we are at it, what exactly is "ord"??
>
> It's short for "ordinal number":
>
> ordinal number
> n : the number designating place in an ordered sequence [syn:
> {ordinal}, {no.}]
>
> Since you're reminiscing about Forth, here's the latest language I'm
> playing with, although it's really quite old:
>
> dumpNext: aStream
> "Print the next character on aStream to the Transcript as decimal and
> hex."
>
> | z |
>
> z := aStream next asInteger.
> Transcript print: z; space.
> z printOn: Transcript base: 16.
> Transcript cr; flush.
>
> Given the right data on the stream, this outputs
>
> 134 86
>
> which I guess is a bit longer than the Forth version, or the Python.
Ah! a man who has seen The Revelation!
I'm not so very far along the path to "real enlightenmnet" but I have
certainly seen the truth in language's author's statemnent "When I designed
Object Oriented Programming I did not have C++ in mind!"
--
Sincerely etc.,
Christopher Sawtell