The Runtime part is called at every cycle. The code inside must be thought as from inside the simulation engine.
Put here whatever code you like, although it might be wiser to use either a Component or a Logic.
Do not put here any drawing function; use the Display part for this.
This part is called at the RTC frequency specified inDatabase(Runtime) but is not called in Freeze mode.
The entity implementation code is a function that must return a value:
AGAIN: the entity is called again at next cycle.
DONE: the entity finishes normally. All Logics and Knowledge are terminated. Entity is dormant.
EXIT: the entity finishes normally and is removed from the scenario.
The user can put whatever C/C++ code he wants there. This code can access all vsTASKER API, all included third party APIs and all user designed scenario and model data of the current database. The Runtime code comes from the first product versions and is mostly kept for compatibility.