[Swift-commit] r6580 - SwiftTutorials/CMTS_2013-06-17/basic_swift/part09

yadunandb at ci.uchicago.edu yadunandb at ci.uchicago.edu
Mon Jun 17 14:40:35 CDT 2013


Author: yadunandb
Date: 2013-06-17 14:40:34 -0500 (Mon, 17 Jun 2013)
New Revision: 6580

Modified:
   SwiftTutorials/CMTS_2013-06-17/basic_swift/part09/README
Log:
Updated README for part09



Modified: SwiftTutorials/CMTS_2013-06-17/basic_swift/part09/README
===================================================================
--- SwiftTutorials/CMTS_2013-06-17/basic_swift/part09/README	2013-06-17 19:37:38 UTC (rev 6579)
+++ SwiftTutorials/CMTS_2013-06-17/basic_swift/part09/README	2013-06-17 19:40:34 UTC (rev 6580)
@@ -5,8 +5,9 @@
 previous example part08 is called twice here.
 
 mysim4 takes an integer to determine the number of random numbers to generate.
-The random number generated by mysim4 is read from its output file and redirected 
-as an argument to itself to generate a random number of random numbers.
+Firt mysim4 is called with 1 to generate 1 random number. Then the random number 
+generated by mysim4 is read from its output file by the readData function and 
+redirected as an argument to mysim4 to generate a random number of random numbers.
 
 To run
-$ swift p8.swift -steps=10 -range=100 -count=6 -nsim=1
+$ swift p9.swift -steps=10 -range=100 -count=6 -nsim=1




More information about the Swift-commit mailing list