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


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

I have two questions:

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.

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