help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: One more question about elisp


From: Joost Kremers
Subject: Re: One more question about elisp
Date: 6 Nov 2009 16:55:39 GMT
User-agent: slrn/0.9.9p1 (Linux)

Francis Moreau wrote:
> I'm now wondering what is the elisp way to create structured objects
> and how to access them later.

in the cl package, there is defstruct, which does basically what your C-example
does:

(defstruct person
  (age)
  (name))

if you don't want to use that, elisp has hash tables and alists, which are
discussed in the elisp manual.

HTH

-- 
Joost Kremers                                      joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)


reply via email to

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