[Pharo-users] writing my own method problem .

Roelof Wobben r.wobben at home.nl
Sun Mar 30 11:53:12 EDT 2014


Esteban Lorenzano schreef op 30-3-2014 16:31:
> 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
>>
>>
>
>

Thanks,
it worked,
Now a problem with the arrow above.
According to the manual I have to type ^).
But then I see the same error message as above.

Roelof




More information about the Pharo-users mailing list