[Jprogramming] index origin 0

Tom Arneson tom at tomarneson.com
Sun Jul 25 00:35:59 HKT 2010


I'm a professional land surveyor and an instructor (land surveying
technology) at a community college. 
-----Original Message-----
From: programming-bounces at jsoftware.com
[mailto:programming-bounces at jsoftware.com] On Behalf Of Roger Hui
Sent: Saturday, July 24, 2010 08:35
To: Programming forum
Subject: Re: [Jprogramming] index origin 0
What is your background/profession please?
----- Original Message -----
From: Tom Arneson <tom at tomarneson.com>
Date: Saturday, July 24, 2010 6:31
Subject: Re: [Jprogramming] index origin 0
To: 'Programming forum' <programming at jsoftware.com>
> I used APL and also at least one flavor of BASIC that had index origin
> control. I have no problem with J fixing index origin at 0.
>> Tom Arneson
>> -----Original Message-----
> From: programming-bounces at jsoftware.com
> [mailto:programming-bounces at jsoftware.com] On Behalf Of Roger Hui
> Sent: Saturday, July 24, 2010 08:17
> To: Programming forum
> Subject: [Jprogramming] index origin 0
>> I have been asked by some APL colleagues about 
> index origin 0 in J.  The question is, does the choice
> of a fixed value of 0 for index origin a hindrance to
> your work?  The question is specifically addressed
> to "ordinary domain experts", people with no
> software engineering in their background and are not
> professional mathematicians.  
>> In case you did not know, in APL there is a choice
> known as the index origin, controlled by the variable 
> quad-io, of counting from 1 instead of from 0, affecting 
> the left argument of { and the result of i. , among other 
> things.  
> I will say no more than this to avoid biasing your answers.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm


More information about the Programming mailing list

AltStyle によって変換されたページ (->オリジナル) /