Common Variable
Big Mike
Posts: 2
I am looking for a way to access variables between the upper program and the variables set out in the objects in that program.· I would like to have a number of variables defined in the top level of the program and then have an object access that data and to have the object write data to some of the variables defined in the upper program. Is there a way of accessing that or will I have to copy the information to and from·that object's variable area.· Any help you can provide is appreciated
·
Thanks: Mike
·
·
·
Thanks: Mike
·
·
Comments
Just pass the variable addresses to the lower level objects.
The use word[noparse][[/noparse]address] or byte[noparse][[/noparse]address] or long[noparse][[/noparse]address] to set or read the variable.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nyamekye,
Post Edited (Kye) : 7/6/2009 8:24:08 PM GMT