Skip to main content



      Home
Home » Modeling » Epsilon » How to "include" separate "lib" files in a task-specific file ?
How to "include" separate "lib" files in a task-specific file ? [message #19760] Sat, 06 June 2009 08:21 Go to next message
Eclipse UserFriend
Hi list,

I'm wondering how can I include in a wizard program another eol program
which includes several operations ? This is needed to me to not repeat
code, of course :-)

Thanks !
Re: How to "include" separate "lib" files in a task-specific file ? [message #19861 is a reply to message #19760] Sat, 06 June 2009 08:26 Go to previous messageGo to next message
Eclipse UserFriend
Hi Stéphane,

You can use the "import" statement for this. For example, if you have
a.ewl and b.eol in the same directory you can write in your a.ewl:

import 'b.eol';

and then you'll be able to use all the operations defined there.

Cheers,
Dimitris

Stephane wrote:
> Hi list,
>
> I'm wondering how can I include in a wizard program another eol program
> which includes several operations ? This is needed to me to not repeat
> code, of course :-)
>
> Thanks !
>
Re: How to "include" separate "lib" files in a task-specific file ? [message #19934 is a reply to message #19861] Sat, 06 June 2009 09:00 Go to previous message
Eclipse UserFriend
toooo bad I was looking for include or require....Php man grrrr ;-)

Thanks for your quick response on both threads !
Re: How to "include" separate "lib" files in a task-specific file ? [message #569005 is a reply to message #19760] Sat, 06 June 2009 08:26 Go to previous message
Eclipse UserFriend
Hi Stéphane,

You can use the "import" statement for this. For example, if you have
a.ewl and b.eol in the same directory you can write in your a.ewl:

import 'b.eol';

and then you'll be able to use all the operations defined there.

Cheers,
Dimitris

Stephane wrote:
> Hi list,
>
> I'm wondering how can I include in a wizard program another eol program
> which includes several operations ? This is needed to me to not repeat
> code, of course :-)
>
> Thanks !
>
Re: How to "include" separate "lib" files in a task-specific file ? [message #569031 is a reply to message #19861] Sat, 06 June 2009 09:00 Go to previous message
Eclipse UserFriend
toooo bad I was looking for include or require....Php man grrrr ;-)

Thanks for your quick response on both threads !
Previous Topic:How to launch different specific tasks from an eol program
Next Topic:Problem with Operation self.libraries complains
Goto Forum:
  


Current Time: Tue Jul 01 15:43:58 EDT 2025

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

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

Back to the top