\f(HDThe last word on loops: eof and lines\fP

If you don't know how much input there is, you can test
for a special \f(HDend of file\fP condition.

var foo: string

loop
	exit when eof
	get foo
	do something
end loop


This looks prety clean, but something messy can happen.

The semantics of "eof" in Turing is a bit confusing:
 
     eof is true iff current file position (cfp) is at end of file
 
Thus

    var v: int

    if not eof then
	get v
    end if

May still abort if the cfp is not at eof and if byte positions
cfp..eof in the file are blanks.

See the "get skip" command in the book.
