Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » GMT (Generative Modeling Technologies) » OAW xpt and counters
OAW xpt and counters [message #618083] Mon, 23 June 2008 16:44
Jim is currently offline JimFriend
Messages: 15
Registered: July 2009
Junior Member
Hello ... I am porting a code generator to OAW from XSLT ...

Is there a way i can store the number of times something meeting some
foreach condition ?

I kinda wanna do something like this below half baked pseudo code:

int count = 0;
«FOREACH //get some list ...
//satisfy some condition
count +=1;

Reason being ... is that i need to create an array of objects:

objects * myarray = new objects()[/*num of special objects in model*/]


Previous Topic:Re: [MOFScript] Problem with metamodel setting in Java integration
Next Topic:[TCS] Is "autoCreate=ifmissing" usable?
Goto Forum:

Current Time: Sun Jun 20 05:11:52 GMT 2021

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

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

Back to the top