(j3.2006) F2008: Bogus text in UDIO; IMAGE_INDEX question

Whitlock, Stan stan.whitlock
Wed Mar 30 10:06:37 EDT 2011


John,

I'm inclined to say, yes, let's add an optional KIND= to NUM_IMAGES just for completeness.  And I think we should add it now as we finish the TR.

Thanks			/Stan

-----Original Message-----
From: j3-bounces at j3-fortran.org [mailto:j3-bounces at j3-fortran.org] On Behalf Of John Reid
Sent: Wednesday, March 30, 2011 7:29 AM
To: fortran standards email list for J3
Subject: Re: (j3.2006) F2008: Bogus text in UDIO; IMAGE_INDEX question

Micki St. James wrote:
 > Which leaves only Tobias' last question, to which the answer is apparently 
"No, it returns 0 in the case that NUM_IMAGES() is less than 213."
 >
 > What happens if 213 (but not 3, 1, or 2) is bigger than HUGE(0) ?

Hum - both num_images and image_index return default integers. We thought that 
we did not need to allow for the number of images exceeding 2**31. Will a future 
revision need to add an optional kind parameter, just as we did for size, etc in 
Fortran 2003?

John.
_______________________________________________
J3 mailing list
J3 at j3-fortran.org
http://j3-fortran.org/mailman/listinfo/j3




More information about the J3 mailing list