> At 15:46 25/03/2013, you wrote:
> ????
> >   The sqrt() function takes only one argument, at least.
> 
> It checks   assert( argc==2 ); at line 503 AFAIK.

Under some conventions, argc is one more than you might initially
expect, so it's worth looking a little deeper. Think of main() and also
C functions registered as Tcl commands - in both cases argv[0] tells you
what name you were called by. However, that is not the case here! The
most recent entry in the change log says:

> 2010-01-06 Correct check for argc in squareFunc

... so I think you must be using a really old copy.

Chris
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to