1. Re: More Namespace

---machine.e
procedure Hello()
  puts(1, "Hello")
end procedure
--------

---graphics.e
include machine.e

---------------

---program.ex
include graphics.e

Hello()--Under the global modularized scheme this will not work.
--------------

    Currently the above works but under the modular scheme suggested it will
break.

    This means that some of Hollow Horse Software's libraries would have to
be modified to work.  I tend to prefer the public declaration a little
better.
This does however allow programmers to continue to write code using global
when public will work just as well.

    I don't like having to search several libraries deep trying to find
where a program went wrong or where names are having conflicts.

        Lucius L. Hilley III
        lhilley at cdc.net   lucius at ComputerCafeUSA.com
+----------+--------------+--------------+----------+
| Hollow   | ICQ: 9638898 | AIM: LLHIII  | Computer |
|  Horse   +--------------+--------------+  Cafe'   |
| Software | http://www.cdc.net/~lhilley |  USA     |
+----------+-------+---------------------+----------+
                   | http://www.ComputerCafeUSA.com |
                   +--------------------------------+

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu