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, is already up and running.

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

Re: st: Need help with working with multiple files

From   Nick Cox <>
To   "" <>
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

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


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–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index