Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Computechnic

Pages: [1]
Uml Process / global variable in code templates
« on: January 07, 2014, 09:44:45 pm »

We modified the template to create code in our defined Codestyle. Now I'm trying to create a "global" variable which should be usable in a global scope over all templates (at least two). This is used to write a marker for each scope in the source file. I would set a "FirstPublic" variable to true before iterating over all operations. In the operation template I would like to test the scope and this variable. Is it the first public operation the output will be done and the variable will be set to false.
Is there a way to do something like this?

Thanks for your help.


Pages: [1]