<div dir="ltr"><div>Thank you for the reply, but it doesn't help. It's still undefined.<br></div><div>Here is the sample project. Perhaps there is more than one error.<br></div></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">2013/10/28 Christian Kandeler <span dir="ltr"><<a href="mailto:christian.kandeler@digia.com" target="_blank">christian.kandeler@digia.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 10/28/2013 10:04 AM, Pavel Fischer wrote:<br>
>                   for (var out in outputs) {<br>
>                       print("Output: " + out.fileName);<br>
>                   }<br>
<br>
</div>That's not how the "for" statement works in JavaScript. Instead, write:<br>
     print("Output: " + outputs[out].fileName);<br>
<br>
<br>
Christian<br>
<br>
_______________________________________________<br>
QBS mailing list<br>
<a href="mailto:QBS@qt-project.org">QBS@qt-project.org</a><br>
<a href="http://lists.qt-project.org/mailman/listinfo/qbs" target="_blank">http://lists.qt-project.org/mailman/listinfo/qbs</a><br>
</blockquote></div><br></div>