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

Back to Subject List

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


 
#9784 - RE: Explain advantages of using static func.
Hi Vladimir,

static functions only known inside the same object file.
So the linker can not resolve calling it from another object.

In general local subfunctions declared as static for better readable sources. Then you are able to modify such functions and be sure, that other objects never affected.
Also it is possible to use the same name for different subfunctions in different objects (but not wise).

On using debugger or emulator you should avoid static functions, since they are invisible.


Peter


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