Using more than one instance of the Graphics Object
Jim Fouch
Posts: 395
I'm working on a project that I seem to have ran out of memory in my main cog. I'm using the TV & Graphics object. I'm wondering if there is a way to have two different cogs display information using the TV object, or is there a way to have one Graphics object used by two different cogs?
Jim
Jim
Comments
I'm a VB programmer by trade, so I understand the idea of an objects. What is the best way to have a global variable? Right now I have ~8 longs that I am using as globals. When I create a new instance of an object that needs to read or change these, I pass the address of the first var, then do a LongMove from a local copy of the Var into the address of the global. Is there a better way?