Hi!

At Thu, 29 Dec 2005 01:54:20 +0900, Steve Litt wrote:
> for ss in 1...10
> 	print ss, " Hello\n";
> end

For introduction I'd rather use:

for count in 1..9
    print count
    puts ". Hello"
end

It introduces both 'print' and 'puts', suggests using telling varible
names, uses quite common '..' (including end point) range in place of
rare '...' (excluding end point) range, and delays interpretation of
strings, the latter of which can then be introduced in a 'bells and
whistles' example showing the power of "#{...}".

But that is just my humble opinion.

Josef 'Jupp' Schugt
-- 
Wer Nutzen aus Folterungen zieht oder dies befuerwortet, darf als
ausgewiesener Feind der freiheitlich-demokratischen Grundordnung kein
politisches Amt bekleiden. Ein etwaiger Beamtenstatus ist aus dem
gleichen Grunde umgehend zu entziehen.