Re: need help..
Keith Thompson <kst-u@mib.org> wrote:
[color=blue]
> dot@dot.dot writes:[color=green]
> > On 31 Mar 2005 21:59:13 GMT, Nils Weller <me@privacy.net > wrote:[/color]
> [...][color=green]
> > Easy solution...
> >
> > #define is ==
> >
> > int x = 10;
> >
> > if (x is 10)
> > puts("it worked");[/color]
>
> That will make your code difficult to read.[/color]
So will the usual reversed-operand trick. The easy solution is learning
to pay attention.
Richard
Keith Thompson <kst-u@mib.org> wrote:
[color=blue]
> dot@dot.dot writes:[color=green]
> > On 31 Mar 2005 21:59:13 GMT, Nils Weller <me@privacy.net > wrote:[/color]
> [...][color=green]
> > Easy solution...
> >
> > #define is ==
> >
> > int x = 10;
> >
> > if (x is 10)
> > puts("it worked");[/color]
>
> That will make your code difficult to read.[/color]
So will the usual reversed-operand trick. The easy solution is learning
to pay attention.
Richard
Comment