For Programmers: Free Programming Magazines  


Home > Archive > Fortran > November 2004 > Re: Big array indexes









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: Big array indexes
Phillip Helbig---remove CLOTHES to reply

2004-11-20, 8:56 am

In article <m18y8xwgyd.fsf@MLMCE0000L22801.local>, Richard E Maine
<nospam@see.signature> writes:

> I'd think life
> would be a lot simpler in this area if default integer kind were just
> changed to 64 bits, but I realize that would make life more complicated
> in other areas (mostly in portability of the amount of old code that
> assumes otherwise).


It seems to me that adding suffixes to constants in order to indicate
the KIND makes the code less readable. Would it be too much to ask to
have something like

DEFAULT_INTEGER_KIND = SELECTED_INT_KIND(15)

(and similarly for other data types) and require this to be put before
any variable declarations?

Sponsored Links







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

Copyright 2008 codecomments.com