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

Stata

Shop

Support

Company


The Stata Blog: Not Elsewhere Classified Find us on Facebook Follow us on Twitter LinkedIn Google+ YouTube
© Copyright 1996–2016 StataCorp LP   •   Terms of use   •   Privacy   •   Contact us