From | "Michael Blasnik" <[email protected]> |
To | <[email protected]> |
Subject | st: Re: options in .ado files |
Date | Thu, 21 Jul 2005 14:17:32 -0400 |
Hi, I have the user entering a string of numbers as an OPTION in a .ado file, but for some reason, the code I wrote for when the user does NOT enter the string is not working. In this case, I have :
syntax varlist, [t(numlist)]
and then...
if "`t'"== "" {
scalar t=1000
}
else {
...
}
for some reason, it doesn't like the way that I defined the if statement.
any suggestions would be appreciated.
thanks,
Florence
* * 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/
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |