Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: game on July 19, 2019, 03:11:01 pm
-
Hello,
is there a list of commands and instructions for programming in the EA?
In the EAExample, the following instructions, for example, are used in the simulation:
random()
Trace()
etc.
(https://serving.photos.photobox.com/55708837a2198a32719da2d6e0d6776198bedef0aef4264bcdbacd20c7b643815720c8cb.jpg)
Or can any Java commands be used here?
I hope my question was understandable :-)
Many greetings
-
The initial code does not depend on Enterprise Architect.
It is simply the code that will be generated in the body of the specific operation.
Geert
-
Hello,
thank you for your answer.
I would like to extend this code, or perform invoices or something similar. For this there must be a basis, which commands can be used.
I would like to have a list or FAQ or else of commands, functions or something similar, which you can orientate yourself on.
Is there such a documentation? I didn't find anything in the help.
Because e.g. the function Trace(...) is a defined term. There are surely several of them like "random()", "Math.XXX", etc.
Many greetings
-
You might want to look at this page. This seems to be the place where they define the Trace operation.
https://sparxsystems.com/enterprise_architect_user_guide/14.0/model_simulation/dynamic_simulation_with_javasc.html (https://sparxsystems.com/enterprise_architect_user_guide/14.0/model_simulation/dynamic_simulation_with_javasc.html)
Geert