Open andreasmuelder opened 8 years ago
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
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:![operationfeature](https://cloud.githubusercontent.com/assets/6338708/12504895/45bf01c4-c0e2-11e5-995c-c41f291a7781.png)
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.