Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » ATL logic help
ATL logic help [message #972313] Mon, 05 November 2012 09:25
Kosala Yapa is currently offline Kosala Yapa
Messages: 159
Registered: September 2010
Senior Member
Hi there,

I have a collection of modules, which are ordered based on their slot values. e.g. [module1, module2, module3, module4, module7]

Now I need to iterate through this collection.
if (index of module = slot number of module)
call getModules()
else
call getNullModules()


the result i need is [module1, module2, module3, module4, module_null,module_null,module7]

Can someone tell me how to write this logic in ATL?


Thanks in advance!
K

[Updated on: Mon, 05 November 2012 09:40]

Report message to a moderator

Previous Topic:how to write "for" logic in ATL
Next Topic:where to define a variable?
Goto Forum:
  


Current Time: Tue Jul 29 20:57:01 EDT 2014

Powered by FUDForum. Page generated in 0.01608 seconds