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 14:25
Kosala Yapa is currently offline Kosala YapaFriend
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 14: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: Wed Nov 26 21:55:41 GMT 2014

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

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