[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: display property strangeness
From: |
Stefan Monnier |
Subject: |
Re: display property strangeness |
Date: |
Sun, 13 Mar 2005 20:16:47 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> As someone who doesn't have a background in Lisp, I would expect executing
> the same statement three times to give the same result as executing three
> identical statements. Perhaps its a bit like quantum mechanics, in that,
> once you've passed the stage of disbelief, you can no longer see what the
> problem is.
`eq' is equivalent to C's `==' and `equal' is equivalent (for strings) to
`strcmp'. So try:
#include <stdio.h>
main ()
{
int test = "a" == "a";
printf ("A is equal to A? %d\n", test);
}
-- Stefan
- display property strangeness, (continued)
- display property strangeness, Nick Roberts, 2005/03/13
- Re: display property strangeness, Johan Bockgård, 2005/03/13
- Re: display property strangeness, Nick Roberts, 2005/03/13
- Re: display property strangeness, Nick Roberts, 2005/03/13
- Re: display property strangeness, Miles Bader, 2005/03/13
- Re: display property strangeness, Nick Roberts, 2005/03/13
- Re: display property strangeness, Luc Teirlinck, 2005/03/13
- Re: display property strangeness, Luc Teirlinck, 2005/03/13
- Re: display property strangeness, Nick Roberts, 2005/03/13
- Re: display property strangeness,
Stefan Monnier <=
- Re: display property strangeness, Richard Stallman, 2005/03/14
Re: display property strangeness, Richard Stallman, 2005/03/13