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 gezgin
Messages: 239
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 Thoms
Messages: 353
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: http://xtext.itemis.com
Twitter : @kthoms
Blog : www.karsten-thoms.de
Previous Topic:[ACCELEO] Dynamic templates generator deployment
Next Topic:[Acceleo] UnresolvedReferenceException
Goto Forum:
  


Current Time: Tue Sep 16 03:11:48 GMT 2014

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

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