A Space & astronomy forum. SpaceBanter.com

Go Back   Home » SpaceBanter.com forum » Astronomy and Astrophysics » FITS
Site Map Home Authors List Search Today's Posts Mark Forums Read Web Partners

Cursor questions



 
 
Thread Tools Display Modes
  #1  
Old December 16th 08, 06:47 PM posted to sci.astro.fits
lsitongia
external usenet poster
 
Posts: 2
Default Cursor questions

I'm using the Cursor Iterator to dump and entire Header into a
StringBuffer (perhaps there's an easier way to do this; I simply want
to put the entire header into a database LOB field).

I find that cursor.hasNext() doesn't return false at the end of the
header as I expect it. The header ends with END. It looks like
hasNext keeps going and nextCard returns a Null.

Does this mean that there's a blank line after END, or something like
that? Do I need to use a check on the value from nextCard, that I
can't simply iterate with hasNext?

Thanks for your help,
==Leonard
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ETX-90 PE questions Joe S. Amateur Astronomy 8 December 1st 06 04:15 AM
GEM Questions Davoud Amateur Astronomy 36 October 16th 05 04:20 AM
A Few Questions: Bob Carlson Astronomy Misc 4 May 13th 04 04:37 PM
Got a few questions... George King Amateur Astronomy 2 November 24th 03 04:33 AM
Questions regarding ATM #MK UK Astronomy 22 July 5th 03 09:09 PM


All times are GMT +1. The time now is 10:45 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 SpaceBanter.com.
The comments are property of their posters.