statecharts
statecharts copied to clipboard
Allow definition of operations in the statechart definition
Requested via our user group: https://groups.google.com/forum/#!topic/yakindu-user/Nng9Y8gWORo
I would really like to be able to define an internal operation like this:
internal: var x:integer var y:integer var z:integer
operation op(i1:integer, i2:integer):void / x=y+z;
y+=1;
x+=1
Then I could use that operation in a statechart:
Right now I have to copy pase the assignments or let an external class implement the operation or use a weird statemachine with additional variables :D Would be really nice if you could implement this feature.
Voted via user group
Jonathan Marino It would be great to have that feature