"RokuKC" wrote:
"EnTerr" wrote:
Yes - i noticed and got used to that. But the render thread was running in above - plus result is the same whether i do it in main console, render console or main or render non-console (i.e. non-interactive run).
So you are doing a 'continue' in between the debug commands you showed, or with respect to non-interactive runs, printing out the information from the next event handler and not in a functional sequence?
No, i don't need to do any of that actually - it's working w/o delay in the main console (as long as render is not interrupted) - or in the render console - or if i include in main() or XML-component's init() these lines:
o = createObject("roSgNode", "Label")
? o.addFields({id: "movingLabel", width: 280, height: 60, text: "All The Best Videos!", horizAlign: "center", vertAlign: "center"})
? o
If it was thread rendezvous timeout what you had in mind - i can intentionally induce this by STOP-ing the render thread and typing in main console, then the results are different:
BrightScript Debugger> o = createObject("roSgNode", "Label"): ? o
BRIGHTSCRIPT: ERROR: roSGNode: Failed to create roSGNode with type Label
invalid
or
BrightScript Debugger>? o.addFields({id: "movingLabel", width: 280, height: 60, text: "All The Best Videos!", horizAlign: "center", vertAlign: "center"})
false '<-- !
but this is NOT my case. No, in my first post RSG seems to be working "as intended", except i wonder if having duplicate fields falls under "good intentions"?
PS. i suspect RoSgNode implementing ifAssociativeArray has something to do with this