Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Huh?


From   Bill Rising <[email protected]>
To   "Stata Listserve" <[email protected]>
Subject   Re: st: Huh?
Date   Fri, 20 Sep 2002 13:14:33 -0400

On 9/20/02 10:49, baum wrote

>
>--On Friday, September 20, 2002 2:33 -0400 Tom wrote:
>
>> The problem lies in the use of the assignment operator "=3D"
>> rather than the is equal operator "=3D=3D".
>>
>>> 1.         if "`1'"=3D"?"{

I think there is a translation problem here. 3D is the ASCII code for =, 
so perhaps this program was moved from machine to another in a fashion 
that the text encodings were lost.

If translated properly, this would read 
if "`1'"=="?"{
which would compare local macro 1 to a question mark.

>>
>> Change the line to:
>>
>> 1.         if "`1'"=3D=3D"?"{
>>

This is really mysterious, since the =3D has multiplied!

Bill
*
*   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