Re: What's Holding Euphoria Back

new topic     » topic index » view thread      » older message » newer message

Ralf Nieuwenhuijsen <nieuwen at XS4ALL.NL> wrote:

>>I think we should be allowed to
>>redefine *any* routine, not just the built-in ones -- the interpreter can
>>generate warning messages for this, very much like the existing warnings
for
>>the redefinition of built-ins.
>
>Well, not within the same include file, unless their scope differs.
Example:
>declaring the same procedure global twice in the same include file should
>not be allowed. But when one is local it should be allowed. Overwriting
>routines globally declared in other include files should off course
*always*
>be allowed.

Oops! That's what I meant to say. You're right, of course, we wouldn't want
to have a global redefining a global. Thanks for catching that one. :)

Gabriel Boehme

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu