On Sun, Dec 14, 2008 at 09:33:20PM +0100, Moritz Lenz wrote:
: Moritz Lenz wrote:
: > From S29:
: >
: > : =item end
: > :
: > : our Any method end (@array: ) is export
: > :
: > : Returns the final subscript of the first dimension; for a one-dimensional
: > : array this simply the index of the fi
Moritz Lenz wrote:
> From S29:
>
> : =item end
> :
> : our Any method end (@array: ) is export
> :
> : Returns the final subscript of the first dimension; for a one-dimensional
> : array this simply the index of the final element. For fixed dimensions
> : this is the declared maximum subscript.
I'd say look at prior art, but "end" in this role isn't very common. It
shows up in AppleScript, where it does double duty: "end" serves as an index
in ranges ("items 3 through end of someList"), but by itself it returns the
last item, not the last index ("end of someList"), and as a lone index it
Moritz Lenz wrote:
> From S29:
>
> : =item end
> :
> : our Any method end (@array: ) is export
> :
> : Returns the final subscript of the first dimension; for a one-dimensional
> : array this simply the index of the final element. For fixed dimensions
> : this is the declared maximum subscript.
>From S29:
: =item end
:
: our Any method end (@array: ) is export
:
: Returns the final subscript of the first dimension; for a one-dimensional
: array this simply the index of the final element. For fixed dimensions
: this is the declared maximum subscript. For non-fixed dimensions
(undeclare