exec = function(): return "bar": end functionWhich function should be called?
This is just a special case of the general scoping issue that global function names cannot be hidden by local variables. It would be the same if your local exec were just an int or a string. I actually just submitted an enhancement request on this issue today.
BrightScript Debugger> ? exec 'global user fnSuch behavior is on the strange side of things.
BrightScript Debugger> exec = "ex exec" 'no complaint
BrightScript Debugger> ? exec 'but no change either
The last one won't trip badly written editor plugins but then again, writing LIBRARY is internal to the Co
' LIBRARY foobar.brs
Member function not found in BrightScript Component or interface. (runtime error &hf4)
"belltown" wrote:"EnTerr" wrote:What did they yank?
RokuCo has yanked a documented method call out of 7.2