> frank_ouyang wrote:
>
> By the way, alougth B%a is common in MS PW 4.0,
> but 'B.a' is accessible.
If you want your programs to be ported on something else than Microsoft products in the future, you'd better use the standard syntax, which is B%a.
BTW, a question on this particular point: why the f90 standard decided to use "%" against the more usual "." for object components (already used by C/C++) ?? I though it had to do with the existing Fortran syntax, that the choice of the "." was not possible for a good reason. But in fact it is, since it is accepted (it seems) by MS Powerstation.
For, I find B.a much more pleasant to read than B%a
Best regards,
Pierre
--
-----------------------------------------------------------------------
Pierre Hugonnet R&D Data Processing
COMPAGNIE GENERALE DE GEOPHYSIQUE - Paris Processing Centre
1, rue Leon Migaux / 91341 MASSY cedex / FRANCE
phone:(33) 164 47 45 59 fax:(33) 164 47 32 49
email:phugonnet(at)cgg.com (replace (at) by @)
-----------------------------------------------------------------------
The opinions expressed in this message are not necessarily
those of CGG or of Jacques Chirac
-----------------------------------------------------------------------
|