Want: #slice: (Re: [squeak-dev] Noob question: array slice?)

Bert Freudenberg bert at freudenbergs.de
Fri Aug 6 10:36:00 UTC 2010


On 06.08.2010, at 11:44, Casey Ransberger wrote:

> Bert, yer trollin' me.

Far from it.

> The method finder was a useless waste of time for me in this case; I tried that. Alan's question (paraphrased:) How does one find the sine function if one doesn't know what it's called?

You use the method finder. It works *not* by naming a function but giving it a (hopefully unique) example.

To find the sine function you could give

	60. 0.5

And to find your slice method you would give it

	'hello'. 2. 4. 'ell'

- Bert -




More information about the Squeak-dev mailing list