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

Compound double quotes, continued

Program starts
program define mycmd6
    version 6.0
    syntax [if]
    ...

User types
mycmd6 if make=="VW Rabbit"

syntax fills in `if' with
if make=="VW Rabbit"

Program uses compound double quotes when dealing with `if'
if `"`if'"' != "" {
	...
}
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