Re: Variable length/precision formats?
- From: "James Giles" <jamesgiles@xxxxxxxxxxxxxxxx>
- Date: Sat, 04 Mar 2006 21:51:50 GMT
glen herrmannsfeldt wrote:
....
It is variable, it is a format, and it is an expression. It
does allow the repeat factor, field width, and number of digits
to be specified as a variable. What else do you want?
He wants the wierd, indirect, on-the-fly modification of the
format *while* the I/O list it controls is still being processed.
Mystification of the reader seems to be his real intent.
Next he'll want to be able to change the unit number on the
fly:
Read(N, fmt) x, y, z, N, some, more, stuff
Will this really read the last three elements from a different
file than the first three? Which file will it read N from? (Ok,
that has to be the first of the two files, or it can't be made to
work at all. :-) He'd probably like it even better if he could
write:
Read(N, fmt) x, y, z, M, some, more, stuff
Where M was a pointer that was associated with N in some
backhanded and concealed way. The more mystery interactions
the better, apparently.
--
J. Giles
"I conclude that there are two ways of constructing a software
design: One way is to make it so simple that there are obviously
no deficiencies and the other way is to make it so complicated
that there are no obvious deficiencies." -- C. A. R. Hoare
.
- Follow-Ups:
- Re: Variable length/precision formats?
- From: robin
- Re: Variable length/precision formats?
- References:
- Re: Variable length/precision formats?
- From: robert . corbett
- Re: Variable length/precision formats?
- From: Joe Krahn
- Re: Variable length/precision formats?
- From: Richard Maine
- Re: Variable length/precision formats?
- From: Joe Krahn
- Re: Variable length/precision formats?
- From: Richard E Maine
- Re: Variable length/precision formats?
- From: Joe Krahn
- Re: Variable length/precision formats?
- From: glen herrmannsfeldt
- Re: Variable length/precision formats?
- From: robin
- Re: Variable length/precision formats?
- From: glen herrmannsfeldt
- Re: Variable length/precision formats?
- Prev by Date: Re: Variable length/precision formats?
- Next by Date: Re: Converting fixed-to-free format
- Previous by thread: Re: Variable length/precision formats?
- Next by thread: Re: Variable length/precision formats?
- Index(es):
Relevant Pages
|