Search
   >> Home >> Resources & support >> Users Group meetings >> 5th UK meeting

Low-level parsing


Program starts
program define mycmd6
    version 6.0
    syntax [varlist] [if]
    tokenize "`varlist'"
    ...
User types
mycmd6 mpg wei length
syntax fills in `varlist' with
mpg weight length
tokenize fills in positional macros
`1' `2' `3'
mpg weight length
The Stata Blog: Not Elsewhere Classified Find us on Facebook Follow us on Twitter LinkedIn Google+ Watch us on YouTube