|
@@ -27,6 +27,20 @@ Example:
|
|
|
KSR.dbg("ruri is: " + KSR.pv.get("$ru") + "\n");
|
|
|
```
|
|
|
|
|
|
+### KSR.pv.getw(...) ###
|
|
|
+
|
|
|
+`val KSR.pv.getw("pvname")`
|
|
|
+
|
|
|
+Return the value of pseudo-variable `pvname` if it is different than `$null` or the string `<<null>>`
|
|
|
+if the variable is having the `$null` value. This should be used instead of `KSR.pv.get(...)`
|
|
|
+in the scripting languages that throw and error when attempting to print a `NULL` (or `NIL`) value.
|
|
|
+
|
|
|
+Example:
|
|
|
+
|
|
|
+```
|
|
|
+KSR.dbg("ruri is: " + KSR.pv.getw("$avp(x)") + "\n");
|
|
|
+```
|
|
|
+
|
|
|
### KSR.pv.seti(...) ###
|
|
|
|
|
|
`void KSR.pv.seti("pvname", intval)`
|