jbrave
15 years agoChannel Surfer
global object question
why doesn't this work:
where mainposters is a function.
I get
runtime error ec: 'Dot' Operator attempted with invalid BrightScript Component or interface reference.
089: posterlists:{home:posters.home}
if I change it to:
the function will return but posterlists.home is <ROT:roInvalid>
function init()
return {posters:{home:mainposters}
posterlists:{home:posters.home}
}
end function
where mainposters is a function.
I get
runtime error ec: 'Dot' Operator attempted with invalid BrightScript Component or interface reference.
089: posterlists:{home:posters.home}
if I change it to:
posters:{home:mainposters}
posterlists:{home:m.posters}
the function will return but posterlists.home is <ROT:roInvalid>