Stata: Data Analysis and Statistical Software
   >> Home >> Resources & support >> Users Group meetings >> 5th UK meeting

Maintaining backwards compatibility

  • _caller() function aids in maintaining backwards compatibility
            program define mycmd
                version 6.0
            
                if _caller() < 6 {
                    mycmd5 `0'
    	        exit
                }
                ... continue with Stata 6 version of command
            end
    
Bookmark and Share 
Meetings
Stata Conference
User Group meetings
Proceedings
Like us on Facebook Follow us on Twitter Follow us on LinkedIn
Follow us
© Copyright 1996–2012 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index   |   View mobile site