From 221811c9c921d0dd3a47cf956767820b1ca67e3f Mon Sep 17 00:00:00 2001 From: halw Date: Fri, 5 Mar 2010 03:15:15 +0000 Subject: [PATCH] Author:halw Date:2010-03-05T03:15:15.000000Z git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@506 abb3cda0-5349-4a8f-a601-0c33ac3a8c38 --- documentation/current/_templates/UpdateNeeded.tpl | 1 + documentation/current/_templates/UpdateNeeded.tpl.data | 3 +++ .../current/method/eiffel-tutorial-et/et-instructions.wiki | 4 ++-- 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 documentation/current/_templates/UpdateNeeded.tpl create mode 100644 documentation/current/_templates/UpdateNeeded.tpl.data diff --git a/documentation/current/_templates/UpdateNeeded.tpl b/documentation/current/_templates/UpdateNeeded.tpl new file mode 100644 index 00000000..fe97fa8f --- /dev/null +++ b/documentation/current/_templates/UpdateNeeded.tpl @@ -0,0 +1 @@ +

[[Image:LogoUpdateNeeded|24px]] '''Update Needed: '''Be careful. This page has been identified as needing update. You can help update it by becoming a [[Community|contributor]].

diff --git a/documentation/current/_templates/UpdateNeeded.tpl.data b/documentation/current/_templates/UpdateNeeded.tpl.data new file mode 100644 index 00000000..8be37e6f --- /dev/null +++ b/documentation/current/_templates/UpdateNeeded.tpl.data @@ -0,0 +1,3 @@ +title=UpdateNeeded +author=halw +path=content/updateneeded diff --git a/documentation/current/method/eiffel-tutorial-et/et-instructions.wiki b/documentation/current/method/eiffel-tutorial-et/et-instructions.wiki index 0bb0282d..cd2b7d6c 100644 --- a/documentation/current/method/eiffel-tutorial-et/et-instructions.wiki +++ b/documentation/current/method/eiffel-tutorial-et/et-instructions.wiki @@ -45,11 +45,11 @@ The effect of such a multi-branch instruction, if the value of exp The loop construct provides a flexible framework for iterative computation. Its flexibility lies in how the complete form can be tailored and simplified for certain purposes by including or omitting optional parts. -You'll learn that the loop construct is always used in one of two forms: a '''base''' form which allows precise control over details of all loop aspects, and an '''iteration''' form which abstracts many of the details and provides a concise notation for traversing data structures and other objects which support iteration. +You'll learn that the loop construct is always used in one of two forms: a '''base''' form which allows precise control over details of all loop aspects, and an '''iteration''' form which abstracts many of the details and provides a concise notation, ideal for traversing data structures and other objects which support iteration. We will explore the entire mechanism, but let's approach things a little at a time. -====Two examples==== +====Two forms -- two examples==== First let's take a look at two examples. These examples accomplish the same goal: they both use a loop to visit and print the content of each node of a linked list of character strings. So, the list in question might be declared like this: