For Programmers: Free Programming Magazines  


Home > Archive > Fortran > February 2008 > Re: Variable Format Expressions (VFEs) (Was: Difference between Intel Visual Fortran









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Variable Format Expressions (VFEs) (Was: Difference between Intel Visual Fortran
Gordon Sande

2008-02-14, 7:14 pm

On 2008-02-14 14:27:55 -0400, glen herrmannsfeldt <gah@ugcs.caltech.edu> said:

> Craig Dedo wrote:
> (snip)
>
>
> To me, the biggest reason not to implement VFE is that they don't
> provide any ability that isn't there with character string format
> and internal I/O.
>
> Note that the VFE extension was before internal I/O was added to
> the standard, though many compilers that had it also provided an
> internal I/O extension.
>
> Some might say they are more readable, and sometimes that is reason
> enough to add a feature to the standard. In this case, I don't
> believe it is.


With the addition of nonadvancing output a variable repetition is
easy to achieve. Many other forms of flexibility are also provided
by this mechanism. The compactness of VFEs comes at a considerable
price in error proneness.

The VFEs were a quick hack to provide variable repetition back when
there was only a single fixed FORMAT available. They lost relevance
when first internal and then nonadvancing I/O became available.




Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com