On Feb 25, 2004, at 13:44, Oliver Cromm wrote:

> I feel that the Ruby interpreter is poking fun at me with this error:
>
>   findcols.rb:84:in `print': wrong number of arguments(1 for 0)
> (ArgumentError)
>
> The script does indeed run without errors as soon as I remove the
> argument from print, but what sense should that make? The culprit line
> with a little context:
>
>   (0..@peak).each do |n|
> 	(0.. / cumul.size-1).each {|i| print "*" if @cumul[i] > n}
> 	puts
>   end

Have you perhaps overridden print somewhere in your code?


Nathaniel

<:((><