[Pharo-users] writing my own method problem .

Esteban Lorenzano estebanlm at gmail.com
Sun Mar 30 10:31:34 EDT 2014


you are using a dot:

self DOT assert: is wrong syntax. 

you need just a space:

self assert:

Esteban

On 30 Mar 2014, at 11:26, Roelof Wobben <r.wobben at home.nl> wrote:

> Hello,
> 
> I have to make my own method but when I enter this:
> 
> testShout
>  self.assert: ( 'Do not panic' shout = "DO NO PANIC")
> 
> The editor makes this :
> 
> testShout
>  self. Nothing more expected ->assert: ( 'Do not panic' shout = "DO NO PANIC")
> 
> And I do not get a message that shout does not exist.
> 
> Roelof
> 
> 





More information about the Pharo-users mailing list