W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2002

F&O comments on subsequence function

From: Priscilla Walmsley <priscilla@walmsley.com>
Date: Wed, 20 Nov 2002 10:46:36 -0500 (EST)
To: <public-qt-comments@w3.org>
Message-ID: <005501c290ab$f9258bf0$339afea9@WALMSLEYPH>




A couple comments on the subsequence function:

1. It does not say what the processor should do if $startingLoc is
either negative/zero or greater than the number of items in the
$sourceSeq.  I assume that if it's zero it starts at the beginning, and
if it's larger than the number of items it returns the empty sequence.
Or should it raise an error?

2. The 3rd paragraph ends with "...includes items to the end of $length.
"  I think that should say "includes items to the end of _the sequence_.
"

Thanks,
Priscilla
Received on Wednesday, 20 November 2002 11:21:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:13:58 GMT