yacob
05-17-2004, 11:00 AM
Dear All,
I am using a non default integer since the integer size becomes more than what a default integer can accommodate in my program. I defined a non default interger as
INTEGER, PARAMETER ::range=SELECTED_INT_KIND(15).
This mean that I can now use an integer up to (+-)10^15. My problem occurs when I use the intrinsic procudure MAX(A1,A2). I got an error message in compile time: "Inconsistent argument data types to intrinsic MAX". Is there a way to use the MAX procudure to my defined integer type or the MAX procudure only applies to a default integer type.
Regards
Yacob
I am using a non default integer since the integer size becomes more than what a default integer can accommodate in my program. I defined a non default interger as
INTEGER, PARAMETER ::range=SELECTED_INT_KIND(15).
This mean that I can now use an integer up to (+-)10^15. My problem occurs when I use the intrinsic procudure MAX(A1,A2). I got an error message in compile time: "Inconsistent argument data types to intrinsic MAX". Is there a way to use the MAX procudure to my defined integer type or the MAX procudure only applies to a default integer type.
Regards
Yacob