118 |
- Added individual parse time checks of arguments to be passed to built-in |
- Added individual parse time checks of arguments to be passed to built-in |
119 |
functions "random()", "inc()", "dec()", "in_range()", "min()", "max()", |
functions "random()", "inc()", "dec()", "in_range()", "min()", "max()", |
120 |
"array_equal()" and "search()" specific for their individual purposes. |
"array_equal()" and "search()" specific for their individual purposes. |
121 |
|
- NKSP VM refactoring: Renamed all methods, functions and classes matching |
122 |
|
pattern *ScalarNumber* to simply *Number* (that is i.e. classes |
123 |
|
VMScalarNumberExpr -> VMNumberExpr, ScalarNumberExpr -> NumberExpr, |
124 |
|
ScalarNumberVariable -> NumberVariable, ScalarNumberBinaryOp -> |
125 |
|
NumberBinaryOp, VMScalarNumberResultFunction -> VMNumberResultFunction, |
126 |
|
method VMExpr::asScalarNumberExpr() -> VMExpr::asNumber(), function |
127 |
|
isScalarNumber() -> isNumber()). |
128 |
|
- NKSP VM API: Added 4 overridden methods to class VMNumberExpr: |
129 |
|
evalCastInt(MetricPrefix_t), evalCastInt(MetricPrefix_t,MetricPrefix_t), |
130 |
|
evalCastReal(MetricPrefix_t), evalCastReal(MetricPrefix_t,MetricPrefix_t) |
131 |
|
as convenient methods for automatically converting values to expected |
132 |
|
metric value basis. |
133 |
|
- Built-in function "wait()" accepts now both integers and real numbers as |
134 |
|
argument. |
135 |
|
|
136 |
* test cases: |
* test cases: |
137 |
- Fixed compiler errors in test cases. |
- Fixed compiler errors in test cases. |