[Ecls-list] Weird behavior with package variable named "STRING"

Goffioul Michael goffioul at imec.be
Thu Dec 1 07:17:01 UTC 2005


Here's a piece of ECL session:

> (defpackage "A")
#<"A" package>
> (defpackage "B")
#<"B" package>
> (defvar a::string 261)
STRING
> (defvar b::string 262)
STRING
> a::string
261
> b::string
261

As you can see, the "STRING" variable in package "B" has not the
expected value. Is this normal? This does not happen with another
variable name (I tried with "num" instead of "string").

Michael.




More information about the ecl-devel mailing list