Subject: fits file

From: "ANIL K. KOCHHAR" <anilk at mtolympus.ari.net>
Date: Fri, 26 Jun 1998 15:59:36 -0400

I would like to read in data from a fits file into a 2-Dimensional array.
HOw does one do a 
while(!EOF)
{...}
to read in all the data
instead of using a nested for loop? 

Thanks