What is the best way to create objects at runtime?
Example I have a xml file I download which has text, screen location and color for each item to be typed out on to the canvas. Then I need to be able to use other information in the XML file to move the text or change it in some way, so I still need the handle for the item I'm creating.
Once you have your xml file downloaded and parsed you can pass the parsed xml object or variables derived from it to any function and extract whatever relevant data from it when it is needed.
Eval is used if you want to generate and execute a line of Brightscript code within your Brightscript code, similarly, you can download and execute a whole Brightscript function or program with the Run function within your Brightscript program.