|How Increment Variable in loop [message #643852]
||Wed, 08 December 2010 13:41
| Manuel Selva
Registered: July 2009
Location: Grenoble, France
Hi all, in my .mtl file (working on EMF model) I have the following loop|
[for (param : Param | subCat.params)]
record.readPayload32("What to put here ??");
What I want is to replace the "What to put here" by a value starting at 0 and incremented on each loop's iterration by
The Param EClass has an integer length attribute.
How can I acheive this ? I was not able to find any solution until now ...
Thanks in advance for your help,
Powered by FUDForum
. Page generated in 0.02573 seconds