Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » EGL: How to import an egl file
EGL: How to import an egl file [message #1720174] Thu, 14 January 2016 21:43 Go to next message
Alireza Rouhi is currently offline Alireza RouhiFriend
Messages: 148
Registered: December 2015
Senior Member
Hi,

I am using a "main.egl" file like the following which imports another foo.egl file that includes my commonly used operations:

"foo.egl":
[%
operation String m1(): String {
...
}
%]


"main.egl":
[% import "foo.egl";
...
var c: String;
... [%= c.m1()%] ...
...


I have problems with the operations which have been defined in the foo.egl. Errors like the following are displayed on launching the "main.egl" file:
Method 'm1' not found


Of course, I have defined the foo1 like operations in the foo.egl file. So, this problem is new and I have not seen before.

How to resolve this problem?

Best regards,
Alireza
Re: EGL: How to import an egl file [message #1720176 is a reply to message #1720174] Thu, 14 January 2016 22:01 Go to previous message
Alireza Rouhi is currently offline Alireza RouhiFriend
Messages: 148
Registered: December 2015
Senior Member
Hi,

The problem was resolved.
Since the c variable's type was a String and it was empty (in some circumstances)!
As a result, the mentioned problem appeared for me.

Kind regards,
Alireza
Previous Topic:EGL: Sending the generated text to an output file
Next Topic:[EUGENIA] - Duplication Item in Connection Palette
Goto Forum:
  


Current Time: Sat Apr 20 02:37:26 GMT 2024

Powered by FUDForum. Page generated in 0.02344 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top