[Cuis] Block Arguments

Phil (list) pbpublist at gmail.com
Thu Jul 16 21:11:45 CDT 2015


On Thu, 2015-07-16 at 21:43 -0400, Dan Norton wrote:
> Hi Juan,
> 
> 
> On windows, when the attached class method is added to StrikeFont and
> cmd-d is done on the comment, it produces:
> 
> 
> 'Error: This block accepts 0 arguments, but was called with 1
> argument.'
> 
> 
> AFAIKT it is not passing any arguments and the files do exist. Maybe a
> bug?
> 
But it is passing an argument to your ifExistsDo: block (the filestream)
and your block doesn't accept any.  If you don't care about the
filestream, change your blocks to [:filestream| {baseName. ' OK'} print]
etc. and ignore the parameter.

> 
>  - Dan
> _______________________________________________
> Cuis mailing list
> Cuis at jvuletich.org
> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org






More information about the Cuis mailing list