<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>The code in example 3.9 on <a href="http://www.ci.uchicago.edu/swift/guides/tutorial.php">http://www.ci.uchicago.edu/swift/guides/tutorial.php</a> doesn't seem to work.</div><div><br></div><div>When I try to run it, I get:</div><div><br></div><div><div>tmp:swift dsk$ swift iterate.swift </div><div>Could not start execution.</div><div><span class="Apple-tab-span" style="white-space:pre">    </span>variable a has multiple writers.</div></div><div><br></div><div><br></div><div>There are some other issues with this example, too:</div><div><br></div><div>1.  simple_mapper is not introduced or explained; it just shows up.</div><div>2.  @extractint is not introduced or explained; it just shows up.</div><div>3.  trace() is not introduced or explained; it just shows up.</div><div>4.  based on what I learned from example 3.3, it seems I should be able to anonymous files here - is this correct?  If so, would I just change</div><span class="Apple-style-span" style="font-family: Consolas, 'Andale Mono', monospaced; color: rgb(51, 51, 51); font-size: 12px; line-height: 17px; ">counterfile a[]  <simple_mapper;prefix=<span class="string" style="font-family: Consolas, 'Andale Mono', monospaced; color: rgb(32, 144, 32); ">"foldout"</span><span style="font-family: Consolas, 'Andale Mono', monospaced; ">>;  <br style="font-family: Consolas, 'Andale Mono', monospaced; "></span></span><div>to</div><div><span class="Apple-style-span" style="font-family: Consolas, 'Andale Mono', monospaced; color: rgb(51, 51, 51); font-size: 12px; line-height: 17px; ">counterfile a[]<span style="font-family: Consolas, 'Andale Mono', monospaced; ">;  <br style="font-family: Consolas, 'Andale Mono', monospaced; "></span></span></div><div><div>Can I use an array of anonymous files like this?</div><div><br class="webkit-block-placeholder"></div><div>
<span class="Apple-style-span" style="font-size: 9px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: 10px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" face="Courier"><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; ">Thanks,</span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" face="Courier"><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; ">Dan</span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" face="Courier"><br></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" face="Courier"><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "></span>-- </font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" face="Courier">Daniel S. Katz</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" face="Courier">University of Chicago</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" face="Courier">(773) 834-7186 (voice)</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" face="Courier">(773) 834-3700 (fax)</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" face="Courier"><a href="mailto:d.katz@ieee.org">d.katz@ieee.org</a> or <a href="mailto:dsk@ci.uchicago.edu">dsk@ci.uchicago.edu</a></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><span class="Apple-style-span" style="font-family: Courier; "><a href="http://www.ci.uchicago.edu/~dsk/">http://www.ci.uchicago.edu/~dsk/</a></span></div><div><font class="Apple-style-span" face="Courier"><br></font></div></div></div></span></div></div></div></span></div></div></span><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br></div></body></html>