wasm-demo/demo/ermis-f/python_m/cur/1840

21 lines
400 B
Plaintext

From: greg.ewing at compaq.com (Greg Ewing)
Date: Tue, 04 May 1999 13:11:24 +1200
Subject: Loop and a half
Message-ID: <372E493C.26F14E33@compaq.com>
X-UID: 1840
I've just had another idea for a loop-and-a-half syntax:
while:
line = f.readline()
gives line:
frobulate(line)
Just another possible idea for 2.0, perhaps. Maybe.
Greg