Gavin Sinclair wrote:
>>:) Yes... actually I guess you'd have to default it to
>>nil if you actually wanted it to accept NO ARGUMENT 
>>passed in:  def foo(foobar=nil)
> 
> Just to emphasise the point.  If you call *your* code with no
> argument, the parser or whever you call it will spit the dummy.  Just
> as zero is a number, nil qualifies as an argument.

I'd effectively get a 'array index out of bounds' error or something 
yeah?  in that the array of arguments is zero length and because I 
require one argument I'm doing something like:

   foobar = [][0]

which I assume will fail every time...

cheers
dim