Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
I believe RokuChris is referring to using roAssociativeArray http://sdkdocs.roku.com/display/sdkdoc/roAssociativeArray for this purpose - member variables can be object instances, including function references - either defined as an inline anonomous function or a named reference to an function/sub defined elsewhere. Member function references can be invoked. The SDK sample code contains many examples of this.