Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: parse


From   Nick Cox <n.j.cox@durham.ac.uk>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: RE: parse
Date   Tue, 24 Apr 2012 12:04:32 +0100

If that is all that is relevant to -parse-, then those two lines are equivalent to 

syntax varlist(min(2)) 

In other cases, several statements typed before -parse- in a program might affect how it worked. 

The job of -parse- was to check and interpret what was typed on the command line in view of the syntax declared. 

Nick 
n.j.cox@durham.ac.uk 

Wincent

I have come across a program with these lines

local varlist "req min(2)"
parse "`*'"

Parse is an obsolete command, and I cannot find much reference on it.
Can anyone elaborate a bit on what it does?


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index