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

RE: st: Huh?


From   Finne H�kon <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   RE: st: Huh?
Date   Sat, 21 Sep 2002 12:25:40 +0200

My previous posting on this was incomplete. It is not that = is replaced by
its ASCII equivalent 3D, but by =3D , just as ? (question mark) might have
been replaced by =3F and not by 3F. So = becomes =3D and == becomes =3D=3D .
So the mystery is not in the "multiplication of =3D", but in why the equal
sign was badly translated and the question mark made it through. I suppose
some mysteries are best left unsolved.

--H�kon
[email protected]

> -----Original Message-----
> From: Bill Rising [mailto:[email protected]]
> Sent: 20. september 2002 19:15
> To: Stata Listserve
> Subject: Re: st: Huh?
> 
> 
> 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/
> 
*
*   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