Wed Jun 29, 2022 12:06 pm
Login Register Lost Password? Contact Us

Please Note: The HPCC Systems forums are moving to Stack Overflow. We invite you to post your questions on Stack Overflow utilizing the tag hpcc-ecl ( This legacy forum will be active and monitored during our transition to Stack Overflow but will become read only beginning September 1, 2022.

Module parameters and interfaces

Questions and comments regarding the Online Lessons should be posted here.

Wed Nov 27, 2013 12:03 pm Change Time Zone

I came across a piece of code that looks like this:

Code: Select all
EXPORT myModule(string name='',Boolean IsActive = true):= MODULE(params1)
   <processing code>

Here, the portion in the RHS - after MODULE, is the parameter - the interface. What is the list of values passed to the LHS? More parameters, that aren't part of an interface?

Posts: 75
Joined: Wed May 08, 2013 5:03 am

Mon Dec 02, 2013 3:29 pm Change Time Zone

Hi Gayathri,

First, our apologies for not getting back to you sooner, we just came back from a long holiday weekend over here :-)

Yes, to answer your question the MODULE is establishing a concrete instance of the INTERFACE (params1) and the parameters on the LHS can be used for anything inside the exported MyModule. So myModule can be used to change the initial settings in the INTERFACE if needed and also do any additional processing needed as established by the parameters.


Community Advisory Board Member
Community Advisory Board Member
Posts: 1006
Joined: Wed Jun 29, 2011 7:13 pm

Tue Dec 03, 2013 11:21 am Change Time Zone

Thanks Bob!

Hope you had a good time off work :)
Posts: 75
Joined: Wed May 08, 2013 5:03 am

Return to Online Classroom

Who is online

Users browsing this forum: No registered users and 1 guest