Thanks RokuKC.
For example I did:
Brightscript Debugger> ?m
<Component: roAssociativeArray> =[/size]
{
port: <Component: roMessagePort>[/size]
}
Brightscript Debugger> ?m.port.keys()[/size]
Member function not found in BrightScript Component or interface. (runtime error &hf4) in $LIVECOMPILE(29)
I was hoping to get the following output...
https://sdkdocs.roku.com/display/sdkdoc/ifMessagePortBrightscript Debugger> a = {"a" : "1", "b" : "2" }
Brightscript Debugger> ?a
<Component: roAssociativeArray> =
{
a: "1"
b: "2"
}
Brightscript Debugger> ?a.keys()
<Component: roArray> =
[
"a"
"b"
]
**Where a and b are replaced with members for roMessagePort such as "WaitMessage" and "GetMessage" and "PeekMessage" and maybe any other members/attributes/properties/fields/methods/functions.
I really appreciate everyone being so patient with me while I ask the same question over and over again. I want to be clear that I asked the question expecting a "no, that's available in RSG", and I understand the way I am asking is either confusing or just plain inaccurate, but again, I very much appreciate everyone's kindness while I stumble through this post.Here is an example in python that I would normally do:>>> dir(dict)
['__class__', '__cmp__', '__contains__', '__delattr__', '__delitem__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__gt__', '__hash__',
'__init__', '__iter__', '__le__', '__len__', '__lt__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__setitem__', '__sizeof__',
'__str__', '__subclasshook__', 'clear', 'copy', 'fromkeys', 'get', 'has_key', 'items', 'iteritems', 'iterkeys', 'itervalues', 'keys', 'pop', 'popitem', 'setdefault',
'update', 'values', 'viewitems', 'viewkeys', 'viewvalues']
Above is Python - and dict is a common builtin. Without reading the Python docs I can see exactly what is available to the dict() builtin. From there I can get 'fancy' and do helps on help(dict.viewitems) and get information at either runtime or an interactive terminal.
TOTALLY UNDERSTAND PYTHON != RSG =P. I'm just asking if RSG has any way to expose the same information of an object/method/class/scenegraph/node.
Thank you a 1000x over!