Home  /  Resources & support  /  Users Group meetings  /  1999 UK Stata Users Group meeting  /  Compound double quotes, continued

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'"' != "" {
	...
}