>> 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

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