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]

st: testing equivalence of long variable lists

From   Maarten buis <>
To   stata list <>
Subject   st: testing equivalence of long variable lists
Date   Thu, 25 Mar 2010 20:16:26 +0000 (GMT)

--- Jeremy Freese wrote:
> where tmp1 and tmp2 contain variable lists.  My understanding is that
> if the variable list is longer than 244 characters, this will evaluate
> to true if there is some difference between tmp1 and tmp2 after the
> 244th character.  Is this correct?  How does one test the equality of
> long macros?

if `: list temp1 == temp2'

Hope this helps,

Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen


*   For searches and help try:

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