Book a Demo

Author Topic: List of commands for programming  (Read 3182 times)

game

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
    • View Profile
List of commands for programming
« 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.


Or can any Java commands be used here?

I hope my question was understandable :-)

Many greetings

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: List of commands for programming
« Reply #1 on: July 19, 2019, 04:01:55 pm »
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

game

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: List of commands for programming
« Reply #2 on: July 19, 2019, 06:59:40 pm »
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

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: List of commands for programming
« Reply #3 on: July 19, 2019, 07:53:23 pm »
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

Geert