Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » Random
Random [message #93910] Wed, 29 October 2008 22:29 Go to next message
Everton is currently offline EvertonFriend
Messages: 2
Registered: July 2009
Junior Member
Hello, I want know if there is any command in ATL to generate random
numbers in a range?
Re: Random [message #93925 is a reply to message #93910] Thu, 30 October 2008 00:59 Go to previous message
Alfons Laarman is currently offline Alfons LaarmanFriend
Messages: 71
Registered: July 2009
Member
Hello,

There is not. You could use __xmiID__ attribute in EMF models as semi-random
thing (it gives the Xpath? to a model element ). Or in injected models (TCS)
you have the location attribute at your disposal (it gives a line column
number for the element in the text).

It would be a nice thing to have in a transformation language.


Regards,

Alfons

"Everton " <evertongaldino@gmail.com> schreef in bericht
news:2081c57eb8261cae6cf9de6fb55f4f9f$1@www.eclipse.org...
> Hello, I want know if there is any command in ATL to generate random
> numbers in a range?
>
Previous Topic:[ATL] Structuring a transformation in different files / libraries
Next Topic:Help Transforming Data Types
Goto Forum:
  


Current Time: Fri Apr 26 21:53:39 GMT 2024

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

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

Back to the top