crypto icon indicating copy to clipboard operation
crypto copied to clipboard

Not unboxing string value for XML field

Open lkipke opened this issue 5 years ago • 0 comments

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.

lkipke avatar Oct 08 '20 16:10 lkipke