newLISP Fan Club

Forum => Anything else we might add? => Topic started by: alex on August 05, 2005, 05:15:30 AM

Title: Mistake in indexing?
Post by: alex on August 05, 2005, 05:15:30 AM
See newliisp dialog:

  • > (setq mylist '(1 (2 2)))

    (1 (2 2))

    > (setq x 1)

    1

    > (mylist 1 1)

    2

    > (mylist 1 x)

    2

    > (mylist x 1)

    (2 2)


Why

  (mylist x 1)  -> (2 2)

?

It is write?
Title:
Post by: Lutz on August 05, 2005, 05:29:53 AM
This was fixed in 8.5.10 and is working correctly on 8.6.0 and 8.6.1.



Lutz
Title:
Post by: alex on August 05, 2005, 12:23:47 PM
I am crazy :(

:)