emacs-pretest-bug
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]