[Grace-core] Parsing ambiguity

Andrew P. Black black at cs.pdx.edu
Tue Jul 15 16:42:17 PDT 2014


On 2 Jul 2014, at 1:12, Timothy Jones <tim at ecs.vuw.ac.nz> wrote:

> Many of those are by-convention (as the arrays can be indexed with negative
> values as well), and Smalltalk doesn't use subscripting (right?).

Smalltalk uses subscripting for indexable collections.   The subscripting method is at: or at:ifAbsent:   The origin for indexing is always 1.  If you addFirst:, everything else shifts up.

	Andrew



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailhost.cecs.pdx.edu/pipermail/grace-core/attachments/20140715/3304f870/attachment.html>


More information about the Grace-core mailing list