Re: RE: Transformation: data to attr val.

Subject: Re: RE: Transformation: data to attr val.
From: Peer Stritzinger <e6g1m6n3@xxxxxx>
Date: Wed, 14 Jul 1999 01:27:41 +0200 (MEST)
>  `(("num" ,(data (current-node))))
>   [dgm>]  This resulted in the same error message. I don't see what the
comma
>   is going to buy you. I'll go back and check the old post.

Its not only the comma  ,  the quote ' is also changed in a backquote `
Backquote means the same as quote, dont evaluate the quoted material.
There is however one exception wherever there is a comma in the quoted
material the following expression is evaluated and spliced in. Example:

(define (make-transparent-pic width height)
  (make empty-element gi: "img" attributes:
  `(("width" ,width) ("height" ,height)
   ("src" "images/trans-1x1.gif") ("alt" ""))))

Splices in the values of the "width" and "height" parameters

-- 
Peer Stritzinger

Sent through Global Message Exchange - http://www.gmx.net


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


Current Thread