I want to create some more complex functions for analyzing a UML model. Thereto, I created an ocl file and started programming.
However, in that ocl file only "let" statements instead of "def" are allowed. And for things like:
I need def defined queries, because variables in a navigation are not allowed.
Can anybody help me, where and how to define def statements that I can call from a ocl file?