Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » Xpand integer Global Variable(How can i increase integer Variable)
Xpand integer Global Variable [message #1008135] Sun, 10 February 2013 19:42 Go to next message
serhat gezgin is currently offline serhat gezginFriend
Messages: 243
Registered: January 2013
Location: Izmir
Senior Member
How can i increase global integer value and keep this value on this variable ?
Re: Xpand integer Global Variable [message #1018183 is a reply to message #1008135] Wed, 13 March 2013 10:31 Go to previous message
Karsten Thoms is currently offline Karsten ThomsFriend
Messages: 413
Registered: July 2009
Location: Dortmund
Senior Member

It is not possible to influence the value of an Integer type global var. You could store a datastructure which holds a value of type integer as global var, and then set and get its value.

Or use the counter extensions from org::eclipse::xtend::util::stdlib::counter.

Need professional support for Xtext, Xpand, EMF?
Go to:
Twitter : @kthoms
Blog :
Previous Topic:[ACCELEO] Dynamic templates generator deployment
Next Topic:[Acceleo] UnresolvedReferenceException
Goto Forum:

Current Time: Tue May 31 02:19:38 GMT 2016

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

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