[Swift-commit] r2962 - trunk/docs

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Tue Jun 16 16:58:07 CDT 2009


Author: benc
Date: 2009-06-16 16:58:06 -0500 (Tue, 16 Jun 2009)
New Revision: 2962

Modified:
   trunk/docs/tutorial.xml
   trunk/docs/userguide.xml
Log:
remove vestigial use of print in documentation

Modified: trunk/docs/tutorial.xml
===================================================================
--- trunk/docs/tutorial.xml	2009-06-16 16:41:53 UTC (rev 2961)
+++ trunk/docs/tutorial.xml	2009-06-16 21:58:06 UTC (rev 2962)
@@ -654,7 +654,7 @@
 
 iterate v {
   a[v+1] = countstep(a[v]);
- print("extract int value ", at extractint(a[v+1]));
+ trace("extract int value ", at extractint(a[v+1]));
 } until (@extractint(a[v+1]) <= 1);
 
 </programlisting>

Modified: trunk/docs/userguide.xml
===================================================================
--- trunk/docs/userguide.xml	2009-06-16 16:41:53 UTC (rev 2961)
+++ trunk/docs/userguide.xml	2009-06-16 21:58:06 UTC (rev 2962)
@@ -2046,7 +2046,7 @@
 string t = "my name is John and i like puppies.";
 string name = @strcut(t, "my name is ([^ ]*) ");
 string out = @strcat("Your name is ",name);
-print(out);
+trace(out);
 			</programlisting>
 
 			<para>
@@ -2067,7 +2067,7 @@
 string t = "my name is John and i like puppies.";
 string words[] = @strsplit(t, "\\s");
 foreach word in words {
-	print(word);
+	trace(word);
 }
 			</programlisting>
 




More information about the Swift-commit mailing list