Re: [Pharo-users] Casting a string as an instance variable.

2015-01-09 Thread sergio_101
perfect! speed is not a huge issue, in that this will just be a set of methods that build data one time (sort of like a rails migration) and it will not be run again.. thanks! On Fri Jan 09 2015 at 4:29:04 PM Marcus Denker wrote: > > > On 09 Jan 2015, at 18:21, sergio_101 wrote: > > > > > > I

Re: [Pharo-users] Casting a string as an instance variable.

2015-01-09 Thread Marcus Denker
> On 09 Jan 2015, at 18:21, sergio_101 wrote: > > > I would like to do something like: > > MyObject updateWIth: aDictionary. > > then, inside the object, treat the keys as instance variables, and the values > as values.. and do something like: > > (key1 asInstanceVariable(??)): value1. > >

[Pharo-users] Casting a string as an instance variable.

2015-01-09 Thread sergio_101
I would like to do something like: MyObject updateWIth: aDictionary. then, inside the object, treat the keys as instance variables, and the values as values.. and do something like: (key1 asInstanceVariable(??)): value1. this seems like it should be possible, but i am just not getting it. any