EnTerr
11 years agoRoku Guru
roXmlList implements ifArray, apparently (+ a mystery)
Just discovered that roXmlList supports ifArray methods:
It is undocumented as of now. The significance is that array operations can be used to go over a roXmlList - and notably, .count().
BrightScript Debugger> rXL = createObject("roXmlList")
BrightScript Debugger> rXL.push("something")
BrightScript Debugger> ? type(rXL), rXL.count(), rXL[0]
roXMLList 1 something
BrightScript Debugger> ? getInterface(rXL, "ifArray")
<Interface: ifArray>
It is undocumented as of now. The significance is that array operations can be used to go over a roXmlList - and notably, .count().