GerritGroot
Technical User
Hi,
I've got a question about the byte amount of the array indices themselves.
Imagine that I define:
Now, MyArray is an array of integers, each of them 8bytes long, but what kind of integer is used for the indices of MyArray?
Are the indices of MyArray than defined by an 8byte integer?
(I got strange overflow errors when running)
Is there a way to define this? Or is this fixed?
Thanks,
Gerrit
I've got a question about the byte amount of the array indices themselves.
Imagine that I define:
Code:
INTEGER, PARAMETER :: I8B=SELECTED_INT_KIND(18)
! And
INTEGER(KIND=I8B), PARAMETER :: mx4b=2**32
INTEGER(KIND=I8B), DIMENSION(mx4b) :: MyArray
Now, MyArray is an array of integers, each of them 8bytes long, but what kind of integer is used for the indices of MyArray?
Are the indices of MyArray than defined by an 8byte integer?
(I got strange overflow errors when running)
Is there a way to define this? Or is this fixed?
Thanks,
Gerrit