This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Global varible or Local varibles which is best wrt data memory usage?

Hi , Which is best local or global variables wrt data memory ?I observed that XData size is getting reduced when I am replacing my global variable with local variable.is there any effect on internal data memory if I use local variable instead of global variables?and what about the performance? I am waiting for your valuable suggestions..
With Regards,
Bhaskar Reddy
bhaskar@blazeautomation.com

Parents Reply Children
  • I was kinda hoping that the OP would realise the issue in his thinking, but you gave it away - so I doubt he'll be doing any thinking at all now.

    OMG. I'm so tempted to say what I really think of what you wrote there, but I'll bite my tongue.

    You believe the OP understood the nuances of what I wrote in response to your questions? genuinely?