Liste des Groupes | Revenir à cl fortran |
On Thu, 03 Oct 2024 14:45:31 +0200, R Daneel Olivaw wrote:Take a pragmatic approach, if that's the way the compiler wants you to do it then do it that way.
Lynn McGuire wrote:If we overlook the nonstandard type in the declaration, and agreeI need many of my integers to be integer*8 in my port to 64 bit. In>
C/C++ code, I can say 123456L to mean a long long value, generally 64
bit. Is there a corresponding way to do this in Fortran or am I stuck
with:
>
call xyz (1)
>
subroutine xyz (ivalue)
integer*8 ivalue
...
return end
>
must be:
>
integer*8 ivalue
...
ivalue = 1
call xyz (ivalue)
>
This is not actually a Fortran issue as such, it's all about a specific
compiler (GNU Fortran).
that the compiler will accept 'integer*8', then the program is
still invalid Fortran. It's technically not a Fortran issue. It
is a programmer issue.
Les messages affichés proviennent d'usenet.