Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: Need help with working with multiple files


From   Nick Cox <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: Need help with working with multiple files
Date   Tue, 28 May 2013 08:40:51 +0100

If you refer to a macro that doesn't exist Stata doesn't regard that
as an error: it just substitutes nothing, or equivalently ignores the
reference.

Nested macro references don't affect this principle and indeed must be
consistent with it. So if  local macro x does not exist as a string to
be used neither do any of

`x'
``x''
```x''''

and so forth. You could say that they define empty strings if you
like, but the effect is the same: a non-existent string and an empty
string look identical.



© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index