RE: (dsssl) access variable value with a string

Subject: RE: (dsssl) access variable value with a string
From: DPawson@xxxxxxxxxxx
Date: Fri, 16 Mar 2001 09:45:26 -0000
> From: Nilsson, Peter

> If you define a list like
> (define styleparams
>   '(("foo" none) ("bar" "none") ...))
> you'd use cadr, because the cdr of the return value of assoc 
> would be a list
> (i.e. a pair containing ("none" . ()), and to get "none", you 
> need to the
> the car of that list.

Or list (list ....
in preference to cons?

to make a list, instead of a pair?
DaveP

 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist

Current Thread