Re: Euphoria v2.2Bug

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

Mike Nelson writes:

> procedure foo(integer foo)
> end procedure

> procedure bar()
>    integer bar
> end procedure

> do not generate "attempt to redefine"  errors.

It's not a bug. That's what I intended.
They are "private" variables. You can choose any name
you like without fear of conflicting with another
user-defined symbol.

By the way, both situations are legal in C too.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu