"pcnweb" wrote:
I have arrays holding my row info like so:
m.options
m.options1
m.options2
etc...
I want to pass them from roGridScreenEvent to my function by appending the msg.GetIndex() to m.options, ex:
myopt = m.options+msg.GetIndex()
but that fails - do you have to cast everything to strings, then to something else? Can't figure it out or find examples in the docs.
name = "options" + index.ToStr()
value = m[name]
"pcnweb" wrote:
Thanks for the reply, guess I wasn't clear - I want to concatenate a number to the end of the actual array name, ex:
m.options + 1 would become m.options1
We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. Read more here.
Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 19th and you may notice reduced functionality.
In the meantime, for additional assistance, visit our Support Site.
We're sorry for this disruption — we’re excited to share what’s next!