(member) Function Question

Discussion in 'AutoCAD' started by djbuschert, Jul 25, 2003.

  1. djbuschert

    djbuschert Guest

    Given the list aList defined as:
     ("a" "b" "c")

    and a string var called aString defined as "b",

    How do I use (member) to test whether aString is a member of aList?

    The following returns nil
    (member aString aList)

    aString needs to be passed as a quote somehow. Anyone ever do this?

    Thx,

    Don Buschert, B.Sc. A.T.
    SIZELAND EVANS Interior Design Inc.
    Phone: (403) 266-2110, ext #259
    Fax: (403) 266-3395
    Email:
     
    djbuschert, Jul 25, 2003
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.