Re: D3/Linux compile question
- From: "Peter McMurray" <excalibur21@xxxxxxxxxxx>
- Date: Fri, 15 Feb 2008 20:40:39 GMT
Congratulations Robert and thank you for at least getting the option
accepted
Peter McMurray
"uiterwyk" <robert@xxxxxxxxxxxx> wrote in message
news:52ab31b0-430e-4abe-99f9-704d72fe11d9@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I am happy to see others agree with my view that ARRAY(0) is a
mathematical oxymoron, though unfortunately a programing defacto
standard.
Peter, to as your question as to where this idiocy started: At least
as far back as "Dartmouth Basic".
The ANSI Basic standard committee X332 proposed the zero standard
(with an option statement of OPTION BASE 1 overriding it) and it was
eventually adopted
In my notes to a Basic Interpreter I wrote in 1976 for the Motorola
M6800 (sic), I said, among other things:
<snip>there is one instance where I could not see eye to eye with the
committee</snip> ... <snip>Therefore, I have taken an author's
privilege and forced a base of 1 [for arrays] in all cases.</snip>
Unfortunately, even that early I was swimming against a larger tide,
and base zero won (although OPTION BASE 1 continued through to MS
Visual Basic).
Robert Uiterwyk
"
On Feb 14, 10:45 pm, "frosty" <fros...@xxxxxxxxx> wrote:
ISTR an "A0" attribute definition in Pick.
--
frosty
Excalibur wrote:
Hi Mark
I can remember seeing documentation on one of the Pick variants that
described the Item Id as Attribute 0 I choked and spluttered then
also.:-) Peter McMurray
"Mark Brown" <Mark_Br...@xxxxxxxxxxxxx> wrote in message
news:rsKdnUH2Zs_fSCnanZ2dnUVZ_gednZ2d@xxxxxxxxxxxxxx
Well, let's see. The data is stored something like this:
ID <am> attr1 <am> att2 <am> etc
So, if att1 is stored in attribute ONE, then the ID must be stored in
attribute ZERO.
Taking the idea of a dynamic array and applying it to a dimensioned
array, it might be fair to assume that reading an item from a file
into a DIM'd array might put the item ID in attr "0".
Of course, it doesn't, but there's no reason to let facts get in the
way of a good story.
Mark
"Peter McMurray" <excalibu...@xxxxxxxxxxx> wrote in message
news:Eh3tj.14991$421.7715@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi Chandru
I am pleased to see that you agree on zero starts. Does anyone know
how this idiotic interpretation of zero arose as I would love to
know. Let's face it the concept of zero is one of the great gifts
of the 8th century Arab world to us all.
Peter McMurray
.
- References:
- D3/Linux compile question
- From: Dale
- Re: D3/Linux compile question
- From: Peter McMurray
- Re: D3/Linux compile question
- From: Chandru Murthi
- Re: D3/Linux compile question
- From: Peter McMurray
- Re: D3/Linux compile question
- From: Mark Brown
- Re: D3/Linux compile question
- From: Excalibur
- Re: D3/Linux compile question
- From: frosty
- Re: D3/Linux compile question
- From: uiterwyk
- D3/Linux compile question
- Prev by Date: Color printing with PCL
- Next by Date: Re: SB+ CONVERT TO ??
- Previous by thread: Re: D3/Linux compile question
- Next by thread: Re: D3/Linux compile question
- Index(es):
Relevant Pages
|
Loading