25
edits
Changes
→Variable:
We use '''const''' and '''param''' to declare runtime constants and compile-time constants. We can set a '''const''' variable's value at runtime. But '''param''' variable requires to set it at beginning.
const myConstmyVar2: real = sqrt(myVar2myVar1); param myParam myVar3 = 3.14;
We can use the '''config''' keyword to override the value on the command line.
config var myVar2myVar4: bool = false; //./variable --myVariable=true
==== Procedures: ====