[Newbies] editing an instance variable in an OrderedCollection

sergio_101 sergiolist at village-buzz.com
Sat Mar 6 14:40:47 UTC 2010


if i have an ordered collection of say albums...

and the albums have a 'desc' instance variable..

and i decide i want to change 'desc' from 'this is a bad album' to
'this is a good album' on the 7th element in the list, how would i
phrase that?

i am kicking around:

Album repository at: 7 desc: 'this is a good album'

but i don't think the evaluation order is correct..

any ideas?

thanks!

-- 

----
peace,
sergio
photographer, journalist, visionary

http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101


More information about the Beginners mailing list