• R/O
  • SSH

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revision4dd8cb8cbbfca8d078d9f46d5a24cb7a18aeb1cb (tree)
Time2024-04-04 23:48:43
AuthorAlbert Mietus < albert AT mietus DOT nl >
CommiterAlbert Mietus < albert AT mietus DOT nl >

Log Message

The Sieve:: report has a parameter

Change Summary

Incremental Difference

diff -r a0e1b940af1d -r 4dd8cb8cbbfc CCastle/4.Blog/sieve-castle.irst
--- a/CCastle/4.Blog/sieve-castle.irst Thu Mar 28 13:11:42 2024 +0100
+++ b/CCastle/4.Blog/sieve-castle.irst Thu Apr 04 16:48:43 2024 +0200
@@ -55,11 +55,11 @@
5555
5656 SimpleSieve.input(foundPrime) on .newPrime
5757 {
58- report()
58+ report(foundPrime)
5959 .found.input(foundPrime); // Forward to “main”
6060 }
6161
62- report() // This is a local function -- as it is not connected (to a port) it is “private”
62+ report(int:foundPrime) // This is a local function -- as it is not connected (to a port) it is “private”
6363 {
6464 printf("Finder: Found prime (no %s): %8i\n", .count, foundPrime);
6565 .count +=1