Re: Improvements

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

Irv wrote:

> quick now, how many parameters can be sent to
> the function zpar()? What value(s) does it return?
> Don't know, do you?
>
> You would if it had been declared already!

The more interesting question is, does Euphoria know?

It doesn't seem to. After all, I can't ask if it knows the "zpar" routine,
what the parameter count and type are, or if it's a function or a procedure.
There's no reflection in Euphoria.


>> The namespace problem you can avoid like this:WHAT_button. --
>
> So, when I use an include file from Jiri, and
> another from Dave, I have to rewrite the names
> of globals in one or both?

Once we have namespaces, Jiri and Dave would get around to rewriting their
libraries, and remove the global declarations. Then you would reference them
properly as:

   jiri.GLOBAL_IN_ONE
   dave.GLOBAL_IN_ONE

I suppose that Robert could design the namespace directive to ignore all
"global" declarations in a module, so you wouldn't have to rewrite any older
modules, but this is a bit of a hack.

-- David Cuny

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

Search



Quick Links

User menu

Not signed in.

Misc Menu