RE: How to tell the difference bewteen comparing and assigning
- Posted by irv at take.maxleft.com May 13, 2002
- 417 views
jbrown105 at speedymail.org wrote: > On 0, stabmaster_ at HOTMAIL.COM wrote: > > > > One way to spot comparisons (although it probably doesn't cover _all_ > > possible comparisons) are when '=' is used after 'if' or 'while' > > > > if 1=0 then... > > > > while 0=1 do... > > > > etc. Why don't you download Dave Cuny's Py interpreter and see how he did it? IIRC it uses = as both an assignment operator and a comparison operator. For atoms AND sequences. Regards, Irv