r = qml_evaluatestring(string_to_eval)
| Parameter | Description |
|---|---|
| string_to_eval | a string: a js code. |
| Parameter | Description |
|---|---|
| r | a double, logical, int or string. |
Evaluates a js string.
If returned value cannot be converted to a basic type, it will converted to string.
qml_evaluatestring('a = 2 + 4')
| Version | Description |
|---|---|
| 1.0.0 | initial version |