View Single Post
  #3  
Old December 18th 08, 01:51 PM posted to sci.astro.fits
Leonard Sitongia
external usenet poster
 
Posts: 1
Default Resetting Cursor

Hi Tom,

Sorry about that. Yes, I'm using your package. Version 0.91. I see
1.0 is out now.

Yes, both of my problems were caused by using nextCard(). I was using
Cursor's hasNext() to loop over the cards, then nextCard() to get the
next card instead of the iterator's next() to get the card it is
pointing to. I'll simply use the interator's next() as you do in your
example.

Thanks!
==Leonard