Hi everyone,
I encountered somewhat strange behavior of -syntax- command and was
wandering if it's my fault or there is a problem indeed.
Lets consider this simple program:
capture program drop test
program define test
syntax [, NOADJust ADJust]
display "`noadjust'"
display "`adjust'"
end
test , noadjust
//
it works as expected, but if I change the order of options "syntax [, ADJust
NOADJust]" then `adjust' local contains the value of option but local
`noadjust' is always empty.
Any ideas why it might happen?
Thanks,
Zurab
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/