mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-08 07:42:33 +01:00
Added note about iteration form of loop to description; added loop tag
Author:halw Date:2010-04-03T15:57:38.000000Z git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@540 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
@@ -2,11 +2,12 @@
|
||||
[[Property:link_title|Example: Sieve of Eratosthenes]]
|
||||
[[Property:weight|0]]
|
||||
[[Property:uuid|e825c874-4266-b5ee-501c-221e6940dacd]]
|
||||
|
||||
==Description==
|
||||
|
||||
Deliver prime numbers up to a specified integer limit. Compute prime numbers using sieve of Eratosthenes.
|
||||
|
||||
This example uses the ''iteration'' (<code>across</code>) form of the Eiffel loop construct to traverse a list, an array, and an integer interval.
|
||||
|
||||
|
||||
==Source==
|
||||
|
||||
|
||||
Reference in New Issue
Block a user