Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » For loop in ATL(For loop in ATL)
For loop in ATL [message #658275] Mon, 07 March 2011 16:46 Go to next message
Ola Missing name is currently offline Ola Missing nameFriend
Messages: 9
Registered: January 2011
Junior Member
Hello all,

Is there a way to have an iterative for loop in ATL script as in Java or C by making it loops around a counter, for example: for(i=1, i<10, i++).
I would appreciate any help in this!

Thanks, Ola
Re: For loop in ATL [message #658665 is a reply to message #658275] Wed, 09 March 2011 12:36 Go to previous message
Ronan B is currently offline Ronan BFriend
Messages: 273
Registered: July 2009
Senior Member
Hi Ola,
Sure! Take a look at http://wiki.eclipse.org/ATL/User_Guide_-_The_ATL_Language

for(iterator in collection) {
statements
}

Regards,
Ronan
Previous Topic:[QVTo] Is it possible to use blackbox libraries when running standalone?
Next Topic:[ATL] Refining mode usage with UML Profile
Goto Forum:
  


Current Time: Fri Feb 26 19:36:12 GMT 2021

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

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

Back to the top