'while/else' (ugh) (was Re: [oclug] Ruby)
Michael P. Soulier
msoulier at digitaltorque.ca
Fri Jun 27 23:22:28 EDT 2003
On 27/06/03 Francis J. A. Pinteric did speaketh:
> Vega 0.0.1 (Fri Jun 27 15:31:41 EDT 2003)
> [gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110)]
> >> x=0
> >> while x<10:
> >> print("Value is:" x)
> >> x = x+1
> >> finally
> >> print("Done. x is:" x)
> >> end
I would have expected a colon after the finally, based on the while
statement.
Mike
--
Michael P. Soulier <msoulier at digitaltorque.ca>, GnuPG pub key: 5BC8BE08
"...the word HACK is used as a verb to indicate a massive amount
of nerd-like effort." -Harley Hahn, A Student's Guide to Unix
IM: msoulier at jabber.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://tux.oclug.on.ca/pipermail/oclug/attachments/20030627/83fffbc2/attachment.bin
More information about the OCLUG
mailing list