Skip to main content


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: 762
Registered: July 2009
Location: Dortmund, Germany
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, EMF, Eclipse IDE?
Go to: http://devhub.karakun.com
Twitter : @kthoms
Blog : www.karsten-thoms.de
Previous Topic:[ACCELEO] Dynamic templates generator deployment
Next Topic:[Acceleo] UnresolvedReferenceException
Goto Forum:
  


Current Time: Fri Apr 19 00:40:36 GMT 2024

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

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

Back to the top