crypto
crypto copied to clipboard
Not unboxing string value for XML field
When we have a string field defined in xml:
<interface>
<field id="foo" type="string">
</interface>
and then try to set it in code:
val = ""
val += "abcd" ' make it an roString
node.foo = val
print node.foo ' => ""
brs doesn't set the value when it's an roString.