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

[fitsbits] Start of the CONTINUE keyword Public Comment Period



 
 
Thread Tools Display Modes
  #1  
Old July 12th 07, 07:41 PM posted to sci.astro.fits
William Pence
external usenet poster
 
Posts: 66
Default [fitsbits] Start of the CONTINUE keyword Public Comment Period

Peter Teuben wrote:
perhaps it would be useful to explicitly mention that the & character is
not part of the resulting keyword value.

And also make the example shorter so you can easily show the equivalent string
in a single-keyword example:


Agreed. I'll make these changes in the next version of the documentation.

Thomas McGlynn wrote:
It might be useful to explicitly address some corner cases, e.g.,
long strings that end in &.

SVALUE = 'This is a long string &'
CONTINUE 'really long &'
COMMENT 'But is this part of it?'
CONTINUE 'Or is this?'

I guess that the intended value of SVALUE in this case is
'This is a long string really long &'


Correct. If a string value ends with an `&' and is NOT followed
by a CONTINUE keyword, then the `&' character is interpreted literally
as the last character of the string value).

You might also wish to explicitly note what is supposed
to be done with a CONTINUE statement that doesn't follow
a string ending in &. Presumably it is to be ignored.

SVALUE = 'This is a short string'
CONTINUE 'And this is not part of it'


Yes. Software should treat orphaned CONTINUE keywords the same as a
COMMENT keyword. Software that doesn't support this convention at all
should treat all the CONTINUE keywords this way. I'll revise the
documentation to explicitly cover these cases.

Bill Pence
--
__________________________________________________ __________________
Dr. William Pence
NASA/GSFC Code 662 HEASARC +1-301-286-4599 (voice)
Greenbelt MD 20771 +1-301-286-1684 (fax)


 




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
[fitsbits] Start of the CONTINUE keyword Public Comment Period Rob Seaman FITS 1 July 15th 07 02:46 AM
[fitsbits] Start of the CONTINUE keyword Public Comment Period Rob Seaman FITS 0 July 12th 07 05:21 PM
[fitsbits] Start of the CONTINUE keyword Public Comment Period Walter Jaffe FITS 0 July 12th 07 10:15 AM
[fitsbits] Start of the CONTINUE keyword Public Comment Period Peter Teuben FITS 0 July 11th 07 10:37 PM
[fitsbits] Start of the CONTINUE keyword Public Comment Period Thomas McGlynn[_2_] FITS 0 July 11th 07 09:57 PM


All times are GMT +1. The time now is 11:58 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.