[Kst] Indexed access into vectors ?

George Staikos staikos at kde.org
Tue Jul 5 22:36:22 CEST 2005


On Tuesday 05 July 2005 15:57, Matthew D Truch wrote:
> >   How about something like  @vector[index]  @vector[range]
> > @vector[range,index,range,range,index,...] ?
>
> That's ok, but what happened to the [vector[n]] notation as suggested a
> while ago?  Are the nested square brackets too hard to parse?  I can't
> think of a case where [vector[n]] is ambiguous, though.  Is there one?

  The biggest issue is that "text[moretext]" at least -was- acceptable as 
plaintext.  We also would have to deal with "vector[idx]" vs "vector 
[idx]" (do we accept the latter?).  Off-hand I can't think of other reasons.

-- 
George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/


More information about the Kst mailing list