The base Process class provides the following variables for controlling its behavior:
Enum type
C_CODE
or SCRIPT
, which determines if
the Process is going to execute C code or CSS script code. A script
file must be attached to the process to run in SCRIPT
mode.
Modulo mod
loop_procs
or loop_stats
groups of a scheduling process, and the modulo
function is based on the counter variable of that parent process. For
final_stats
and final_procs
, the counter variable is that
of the parent of the parent schedule process. If the flag
variable of the mod
object is not set then the process is never
run. Otherwise the process is run if the parent's counter minus the
off
variable modulo the m
variable is equal to zero (i.e.,
it is run every m
times, with a phase determined by the offset
off
).
Network* network
Environment* environment
The basic Process class provides the following functions for controlling its behavior. Some of these are available on the Control Panel buttons that appear at the bottom of the edit dialog and the control panel, and others are in the Actions menu.
NewInit()
ReInit
function, but the previously
saved seed is then lost.
ReInit()
Run()
Step()
Stop()
ControlPanel()
LoadScript (char* filename)
filename
and
compiles the script for execution. This function clears any previous
script file being used by the process. It automatically sets the
type
variable to SCRIPT
.