<div dir="ltr">(defvar my-log-reader (new (chain *yahoo* widget (LogReader "myLogger"))))<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 2, 2013 at 10:07 PM, Victor <span dir="ltr"><<a href="mailto:bobbie@ua.fm" target="_blank">bobbie@ua.fm</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I would like to express following line of code:<br>
<br>
var myLogReader = new YAHOO.widget.LogReader('<u></u>myLogger');<br>
<br>
in Parenscript-Lisp. According to the reference manual it might be something like:<br>
<br>
(defvar my-log-reader (new (@ *yahoo* widget LogReader "myLogger")))<br>
<br>
but I get a completely different result.<br>
<br>
What is the proper way to express such kind of statements in Parenscript?<br>
<br>
By the way, contrary to the reference manual, `var' form is not turned into a variable declaration in JavaScript.<br>
<br>
Thanks,<br>
Victor<br>
<br>
______________________________<u></u>_________________<br>
parenscript-devel mailing list<br>
<a href="mailto:parenscript-devel@common-lisp.net" target="_blank">parenscript-devel@common-lisp.<u></u>net</a><br>
<a href="http://lists.common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel" target="_blank">http://lists.common-lisp.net/<u></u>cgi-bin/mailman/listinfo/<u></u>parenscript-devel</a><br>
</blockquote></div><br></div>