Re: [Newbies] evaluating strings as blocks

2016-07-11 Thread David Mitchell
Look at Compiler On Mon, Jul 11, 2016 at 11:13 AM Joseph Alotta wrote: > Greetings, > > For debuting purposes, I want to build a string with calculations and then > evaluate it. > > Something like: > > string := ‘2 + 2 - 5’; > > and then do: > > > string asBlock value

[Newbies] Re: evaluating strings as blocks

2016-07-11 Thread Joseph Alotta
thank you. > On Jul 11, 2016, at 11:18 AM, David Mitchell-10 [via Smalltalk] > wrote: > > Look at Compiler > > On Mon, Jul 11, 2016 at 11:13 AM Joseph Alotta <[hidden email]> wrote: > Greetings, > > For debuting purposes, I want to build a string

[Newbies] Re: evaluating strings as blocks

2016-07-11 Thread Joseph Alotta
thank you. > On Jul 11, 2016, at 11:17 AM, Ron Teitelbaum [via Smalltalk] > wrote: > > Hi Joe, > > Have a look at Complier. > > Then try > > Complier evaluate: '1+1' > > All the best, > > Ron Teitelbaum > > > From: Joseph Alotta >

[Newbies] evaluating strings as blocks

2016-07-11 Thread Joseph Alotta
Greetings, For debuting purposes, I want to build a string with calculations and then evaluate it. Something like: string := ‘2 + 2 - 5’; and then do: string asBlock value => -1 How can I get this to work? Sincerely, Joe. ___ Beginners

RE: [Newbies] evaluating strings as blocks

2016-07-11 Thread Ron Teitelbaum
Hi Joe, Have a look at Complier. Then try Complier evaluate: '1+1' All the best, Ron Teitelbaum From: Joseph Alotta Sent: Monday, July 11, 2016 12:14 PM Greetings, For debuting purposes, I want to build a string with calculations and then evaluate it. Something like: string := ‘2 +