ESDL Syntax
ESDL syntax is entirely the same as that of the Java programming language. Every statement in ESDL is terminated by a semicolon (;).
Timer.calculate();
x = a + b;
tmp = Timer.out();
Compound statements or blocks are contained in curly braces { ... }
if (x > 0) ;{
y = f(x);
z =1; }
Method parameters and expressions are contained in parentheses ( ... )
while (z > 4) {
z--;}
Integrator.reset(15);
Limiter.out(0, 15, 100);
The equals sign (=) is used for assignments.
low = -1;
xVar = a * (b-5);
tmp = xVar.max(15);
See also