One possibility:

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

On Tue, Aug 7, 2012 at 8:49 AM, F D <[email protected]> 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
> [email protected]
> http://lists.common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
>
>
_______________________________________________
parenscript-devel mailing list
[email protected]
http://lists.common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel

Reply via email to