On Aug 8, 2011, at 4:42 AM, P. wrote:

> Hi folks,
> 
> I'm sending this email to both Squeak-dev and Pharo-project as you can see.
> This is to suggest a fix.
> 
> I typed this on a workspace:
> 
> closure := [:x | Transcript show: x].
> closure value: "hey".
> 
> And when I "did it", the VM had me looking at this:
> 
> closure := [:x | Transcript show: x].
> closure value: "hey". Argument expected ->

" " is a comment

try with 'hey'


Stef
> 
> Which is cryptic at best for a newbie.
> I visited #[email protected] and asked there.
> Ken Causey helped me out and even he missed the difference between "" and '' 
> for a second.
> I believe it would be beneficial to newbies to have this enhanced somehow, to 
> point
> out the fact that strings aren't double-quoted.

this is like that in the language :)

> 
> Thanks,
> 
> Peter


Reply via email to