I recommend using funcall, and setting your readtable-case to :invert to get case-sensitive symbols (see http://common-lisp.net/project/parenscript/reference.html#section-symbolconv and http://www.cliki.net/Case%20sensitivity):
(var xhr (new (funcall (@ window XMLHttpRequest))))
Vladimir
On Wed, Apr 13, 2011 at 7:39 PM, Theam Yong Chew senatorzergling@gmail.com wrote:
On 4/14/11, Haris fbogdanovic@xnet.hr wrote:
I wrote: (var xhr (new (@ window -x-m-l-http-request))) but I get: var xhr = new window.XMLHttpRequest; without trailing parenthesses: () How do I do it right ?
More parens! :-)
(var xhr (new ((@ window -x-m-l-http-request))))
parenscript-devel mailing list parenscript-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel