> -----Original Message-----
> From: Peter Shenkin [mailto:[log in to unmask]]
> Sent: Sunday, June 18, 2000 3:14 PM
> To: Fortran90 mailing list
> Cc: Olgun Guvench
> Subject: Platforms that have LOGICAL(KIND=1)
>
>
> LOGICAL(KIND=1) :: L( 8 )
> INTEGER :: I(8), II, IL
> INQUIRE( IOLENGTH=IL) L
> INQUIRE( IOLENGTH=II) I
> WRITE( 6, * )'II, IL= ', II, IL
> WRITE( 6, * )'II/IL= ', II/REAL( IL )
> END
>
> A typical output is:
>
> II, IL= 32, 8
> II/IL= 4.
>
> That is, the "typical" platform reports lengths in bytes. TRU64,
> however, reports length in INTEGER-size words. Still, of course,
> the ratio II/IL is 4.
>
> I'd be curious to hear results from other platforms....
>
These 'typical' results were also obtained on a Wintel platform using
LF95.
Regards,
Graham Kipp
Principal Engineer, Reliability and Market Models
VENCorp
Email: [log in to unmask]
Phone: (613) 9481 9296
Mobile: 0418 610 898
Fax: (613) 9481 9123
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|