On Fri, Jan 13, 2006 at 05:51:53PM +0100, Leopold Toetsch wrote: > This could be fixed by special-casing the initial call to ':main', > and then turn on param count checks if wanted.
I think you'll need to invert that, given that code can be executed before :main, e.g. :immediate. Default the errors on, and if necessary[*], temporarily disable them for the :main call. [*] I actually don't have a problem requiring all :main subs to have explicit .param argv. But I'd also be OK with a code generator hack that inserts an automatic .param __argv in :main if the user doesn't say .param himself. Then the errors can be left on always. -- Chip Salzenberg <[EMAIL PROTECTED]>