One possibility:

(let ((cancelstring "cancel"))
  (ps:ps* `(create
   ,cancelstring "val")))

On Tue, Aug 7, 2012 at 8:49 AM, F D <dubfa@hotmail.com> wrote:
Hello,

How can I avoid to have an error in the following example:
(let ((cancelstring "cancel"))
             (ps::ps (ps:create
                          (ps::lisp cancelstring)  "val")))

Error: Slot key (PARENSCRIPT:LISP CANCELSTRING) is not one of symbol, string or number.

Thank you

_______________________________________________
parenscript-devel mailing list
parenscript-devel@common-lisp.net
http://lists.common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel