If I define this in PS:
(defun test-opt (&optional x) (return (if x "yes" "no")))
then I get the following in the browser:
testOpt(123) => "no"
Daniel
There are a few bugs with the original keyword and optional macros. I will merge my recent changes with all of Vladimir's and upload a patch shortly (a few hours).
Red
Daniel Gackle wrote:
If I define this in PS:
(defun test-opt (&optional x) (return (if x "yes" "no")))
then I get the following in the browser:
testOpt(123) => "no"
Daniel
parenscript-devel mailing list parenscript-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
parenscript-devel@common-lisp.net