For Programmers: Free Programming Magazines  


Home > Archive > Smalltalk > June 2005 > [Q] OrderedCollection from: to: ?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author [Q] OrderedCollection from: to: ?
Günther Schmidt

2005-06-06, 8:58 pm

Hi,

is there some sort of convenience method to get elements from position x
upTo: position y?

Günther
Christopher J. Demers

2005-06-06, 8:58 pm

"Günther Schmidt" <gue.schmidt@web.de> wrote in message
news:d82a02$jbe$05$1@news.t-online.com...
> Hi,
>
> is there some sort of convenience method to get elements from position x
> upTo: position y?


Sure, try,

oc copyFrom: x to: y.

Chris


Michel Bany

2005-06-06, 8:58 pm

Günther Schmidt a écrit :

> is there some sort of convenience method to get elements from position
> x upTo: position y?
>

Sure, #copyFrom:to:
Michel Bany

2005-06-06, 8:58 pm

Günther Schmidt a écrit :

> is there some sort of convenience method to get elements from position
> x upTo: position y?
>

Sure, #copyFrom:to:
Günther Schmidt

2005-06-06, 8:58 pm

Thanks!
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com