function lim2ind, limits, index
;
;+
;   Name: lim2ind
;
;   Purpose: return indices for 1 reformatted file using stripped out
;	     limits map from fnmap (ie. get_fninfo called previously)
;
;   History: slf, 10/14/91
;
;-  
return,indgen((limits(index,1)-limits(index,0))+1) + limits(index,0)
end
