[Swift-user] tutorial issue 9

Daniel S. Katz dsk at ci.uchicago.edu
Thu Oct 14 13:14:44 CDT 2010


Hi,

The code in example 3.9 on http://www.ci.uchicago.edu/swift/guides/tutorial.php doesn't seem to work.

When I try to run it, I get:

tmp:swift dsk$ swift iterate.swift 
Could not start execution.
	variable a has multiple writers.


There are some other issues with this example, too:

1.  simple_mapper is not introduced or explained; it just shows up.
2.  @extractint is not introduced or explained; it just shows up.
3.  trace() is not introduced or explained; it just shows up.
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
counterfile a[]  <simple_mapper;prefix="foldout">;  
to
counterfile a[];  
Can I use an array of anonymous files like this?

Thanks,
Dan

-- 
Daniel S. Katz
University of Chicago
(773) 834-7186 (voice)
(773) 834-3700 (fax)
d.katz at ieee.org or dsk at ci.uchicago.edu
http://www.ci.uchicago.edu/~dsk/




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-user/attachments/20101014/4563f040/attachment.html>


More information about the Swift-user mailing list