|OCL iterate - help a begineer [message #637753]
||Mon, 08 November 2010 12:15
Registered: November 2010
I've been looking at OCL and examples of the collection operation iterate, however one thing i've not been able to identify is whether it is possible to have an iterate inside of another iterate opertaion ( a bit like nested for loops). If it is can someone please show me an example.
Also in OCL when using if then else, if more than one statement is present what are they separted by? For example if x<0 then x=0 and n=0 else n=x
Powered by FUDForum
. Page generated in 0.01951 seconds