load module

Michael Neumann neumann@s-direktnet.de
Fri, 9 Jun 2000 13:32:35 +0200


Hi!

I hope this mailing-list is not only for E-language designer but also for
E-user.


I have two questions:

1.)
Is there any build-in function to load another E-file like a module?
At the moment, I use:
    interp evalPrint(e__quasiParser valueMaker(<file:module.e> getText))
but a command like:
    include("module.e") would be much better.


2.)
why I can call this:
    <swing:JFrame> new("MainWindow")
but this results in an error:
    <swing:JButton> new("MyButton")

Both Constructors in Java accept Strings.
Or can't E disdinguish between different Java-classes, if there is more
than one constructor with one argument.





Thanks in advance
Michael