Reading Little-Endian Binary File in Fortran90

From: Nitesh (niteshkpatil_at_rediffmail.com)
Date: 07/19/04


Date: 18 Jul 2004 22:55:25 -0700

Hello everybody,

I am using MIPSPro Fortran90 compiler on SGI-Irix.I have a fortran 90
code which takes a file as input.

This file is a binary file which is in little-endian format. The
little-endian binary file is created on Windows by an external
application. I have to read some data from this file.

How do i read a little-endian binary file in Fortran 90 on SGI-Irix?

Somethings details of the file i know is, each record size is of 72
bytes.
One thing i know is, using 'assign' command this reading can be done.
But until now, i am not able to read the file properly.

Can anyone please suggest me what is the syntax used to read a
little-endian binary file on SGI-Irix in Fortran90

thanks & regards

--------------------------------------------------------------------------------