>> 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'"' != "" {
The Stata Blog: Not Elsewhere Classified Find us on Facebook Follow us on Twitter LinkedIn Google+ Watch us on YouTube