Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/08/01 13:11
Read: times


 
#9875 - RE: Explain advantages of using static func.
I have no objection to static variables and functions, in fact I use them myself, but the fear and disdain of global variables have no place in embedded programming. I have seen so much miserable embedded "C" where hoops were jumped through such as using a function call to pick up the value of a static variable in another module. The "advantage" of auto variables (using less space) is often lost because the resulting code grow in order to do major manipulation to find the address (a global is always an absolute address, a place on the stack is not).

List of 11 messages in thread
TopicAuthorDate
Explain advantages of using static func.            01/01/70 00:00      
RE: Explain advantages of using static func.            01/01/70 00:00      
RE: Explain advantages of using static func.            01/01/70 00:00      
RE: Explain advantages of using static func.            01/01/70 00:00      
RE: Explain advantages of using static func.            01/01/70 00:00      
RE: Explain advantages of using static func.            01/01/70 00:00      
RE: Explain advantages of using static func.            01/01/70 00:00      
RE: Explain advantages of using static func.            01/01/70 00:00      
RE: Explain advantages of using static func.            01/01/70 00:00      
RE: Explain advantages of using static func.            01/01/70 00:00      
Thank you!            01/01/70 00:00      

Back to Subject List