<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>bad stuff from one of the tutorials.</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Here is an example from one of the tutorials which is not working.<BR>
<BR>
<BR>
<BR>
[erin@tp-login2 swift1]$ cat fold9.swift<BR>
type counterfile; <BR>
<BR>
(counterfile t) echo(string m) { <BR>
app { <BR>
echo m stdout=@filename(t); <BR>
} <BR>
} <BR>
<BR>
(counterfile t) countstep(counterfile i) { <BR>
app { <BR>
wcl @filename(i) @filename(t); <BR>
} <BR>
} <BR>
<BR>
counterfile a[] <simple_mapper;prefix="foldout">; <BR>
<BR>
a[0] = echo("793578934574893"); <BR>
<BR>
iterate v { <BR>
a[v+1] = countstep(a[v]); <BR>
} until (@extractint(a[v+1]) <= 1); <BR>
[erin@tp-login2 swift1]$ cat tc.data<BR>
#NOTE WELL: fields in this file must be separated by tabs, not spaces<BR>
# and there must be no trailing whitespace at the end of each line.<BR>
#<BR>
# sitename app pathname (ignored) (ignored) profiles<BR>
localhost echo /bin/echo INSTALLED INTEL32::LINUX null<BR>
teraport echo /bin/echo INSTALLED INTEL32::LINUX null<BR>
localhost translate /usr/bin/tr INSTALLED INTEL32::LINUX null<BR>
localhost R /home/erin/R-2.9.0/bin/R INSTALLED INTEL32::LINUX null<BR>
localhost wc /usr/bin/wc INSTALLED INTEL32::LINUX null<BR>
localhost convert /usr/bin/convert INSTALLED INTEL32::LINUX null<BR>
localhost wcl /home/erin/swift1 INSTALLED INTEL32::LINUX null<BR>
<BR>
<BR>
[erin@tp-login2 swift1]$ swift -tc.file tc.data fold9.swift<BR>
Could not start execution.<BR>
variable a has multip<BR>
<BR>
Erin M. Hodgess, PhD<BR>
Associate Professor<BR>
Department of Computer and Mathematical Sciences<BR>
University of Houston - Downtown<BR>
mailto: hodgesse@uhd.edu<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>